[ARM] Fix unused variable warning in ARMExpandPseudoInsts.cpp
When built without LLVM_ENABLE_ASSERTIONS we can get a warning in ARMExpandPseudoInsts.cpp due to a variable only being used inside of a LLVM_DEBUG statement. Fix this with a dummy use, like we do elsewhere.
This commit is contained in:
parent
47b0a9b931
commit
25fccfd41f
@ -1046,6 +1046,7 @@ void ARMExpandPseudo::ExpandTMOV32BitImm(MachineBasicBlock &MBB,
|
||||
.addImm(PendingShift)
|
||||
.add(predOps(ARMCC::AL))
|
||||
.setMIFlags(MIFlags);
|
||||
(void)Lsl;
|
||||
LLVM_DEBUG(dbgs() << "And: "; Lsl->dump(););
|
||||
PendingShift = 0;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user