]> granicus.if.org Git - llvm/commit
[LiveDebugValues][NFC] Silence an unused variable warning
authorJeremy Morse <jeremy.morse.llvm@gmail.com>
Wed, 4 Sep 2019 10:18:03 +0000 (10:18 +0000)
committerJeremy Morse <jeremy.morse.llvm@gmail.com>
Wed, 4 Sep 2019 10:18:03 +0000 (10:18 +0000)
commitbb91402eff507ebe741ae069fc1308e85360b2f6
tree28a6a507a270f2d32e5c0b47a0742e64a893158a
parent7c8f17874e3c1b9734b71cd955baf684632bf512
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370870 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveDebugValues.cpp