1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

[LiveDebugValues][NFC] Silence an unused variable warning

On release builds, 'MI' isn't used by anything (it's already inserted into a
block by BuildMI), while on non-release builds it's used by a LLVM_DEBUG
statement. Mark as explicitly used to avoid the warning.

llvm-svn: 370870
This commit is contained in:
Jeremy Morse 2019-09-04 10:18:03 +00:00
parent 0c960eeaf8
commit d3466f2667

View File

@ -1172,6 +1172,7 @@ void LiveDebugValues::flushPendingLocs(VarLocInMBB &PendingInLocs,
DebugInstr->getDesc(), IsIndirect, Reg,
DebugInstr->getDebugVariable(), DebugExpr);
}
(void)MI;
LLVM_DEBUG(dbgs() << "Inserted: "; MI->dump(););
}
}