[llvm] 92c61a0 - [ARM] Silence unused variable warning in Release builds. NFC.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 10 11:35:40 PST 2020


Author: Benjamin Kramer
Date: 2020-11-10T20:35:28+01:00
New Revision: 92c61a045fb2b79de5462c96cbfaaba038b8e77f

URL: https://github.com/llvm/llvm-project/commit/92c61a045fb2b79de5462c96cbfaaba038b8e77f
DIFF: https://github.com/llvm/llvm-project/commit/92c61a045fb2b79de5462c96cbfaaba038b8e77f.diff

LOG: [ARM] Silence unused variable warning in Release builds. NFC.

Added: 
    

Modified: 
    llvm/lib/Target/ARM/MVEVPTOptimisationsPass.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/ARM/MVEVPTOptimisationsPass.cpp b/llvm/lib/Target/ARM/MVEVPTOptimisationsPass.cpp
index aaf452ee45e5..86940516ca28 100644
--- a/llvm/lib/Target/ARM/MVEVPTOptimisationsPass.cpp
+++ b/llvm/lib/Target/ARM/MVEVPTOptimisationsPass.cpp
@@ -236,6 +236,7 @@ bool MVEVPTOptimisations::ConvertTailPredLoop(MachineLoop *ML,
                                .add(LoopStart->getOperand(0))
                                .add(LoopStart->getOperand(1))
                                .addReg(CountReg);
+  (void)MI;
   LLVM_DEBUG(dbgs() << "Replacing " << *LoopStart << "  with "
                     << *MI.getInstr());
   MRI->constrainRegClass(CountReg, &ARM::rGPRRegClass);


        


More information about the llvm-commits mailing list