1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[GISel][KnownBits] Suppress unused warning on the dump method

NFC
This commit is contained in:
Quentin Colombet 2020-02-21 21:07:04 -08:00
parent 4820b68713
commit 88bd84d7ae

View File

@ -88,8 +88,8 @@ APInt GISelKnownBits::getKnownZeroes(Register R) {
APInt GISelKnownBits::getKnownOnes(Register R) { return getKnownBits(R).One; }
static void dumpResult(const MachineInstr &MI, const KnownBits &Known,
unsigned Depth) {
LLVM_ATTRIBUTE_UNUSED static void
dumpResult(const MachineInstr &MI, const KnownBits &Known, unsigned Depth) {
dbgs() << "[" << Depth << "] Compute known bits: " << MI << "[" << Depth
<< "] Computed for: " << MI << "[" << Depth << "] Known: 0x"
<< (Known.Zero | Known.One).toString(16, false) << "\n"