[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:
John Brawn 2023-07-12 16:47:47 +01:00
parent 47b0a9b931
commit 25fccfd41f

View File

@ -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;
}