[x86/SLH] Fix an unused variable warning in release builds after

r337144.

llvm-svn: 337145
This commit is contained in:
Chandler Carruth 2018-07-16 04:42:27 +00:00
parent cdf0addc65
commit bc46bca99e
1 changed files with 1 additions and 0 deletions

View File

@ -1469,6 +1469,7 @@ void X86SpeculativeLoadHardeningPass::hardenLoadAddr(
auto OrI = BuildMI(MBB, InsertPt, Loc, TII->get(OrOp), TmpReg)
.addReg(VStateReg)
.addReg(OpReg);
(void)OrI;
++NumInstsInserted;
LLVM_DEBUG(dbgs() << " Inserting or: "; OrI->dump(); dbgs() << "\n");
} else {