[llvm] r365433 - [NFC][PowerPC] Fixed unused variable 'NewInstr'.
Kai Luo via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 20:33:04 PDT 2019
Author: lkail
Date: Mon Jul 8 20:33:04 2019
New Revision: 365433
URL: http://llvm.org/viewvc/llvm-project?rev=365433&view=rev
Log:
[NFC][PowerPC] Fixed unused variable 'NewInstr'.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp?rev=365433&r1=365432&r2=365433&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp Mon Jul 8 20:33:04 2019
@@ -1439,6 +1439,7 @@ bool PPCMIPeephole::combineSEXTAndSHL(Ma
MI.getOperand(0).getReg())
.add(SrcMI->getOperand(1))
.add(MOpSHMI);
+ (void)NewInstr;
LLVM_DEBUG(dbgs() << "TO: ");
LLVM_DEBUG(NewInstr->dump());
More information about the llvm-commits
mailing list