[llvm] r207106 - ARM64: shut up warning about variable only used in assert.

Tim Northover tnorthover at apple.com
Thu Apr 24 05:22:12 PDT 2014


Author: tnorthover
Date: Thu Apr 24 07:22:12 2014
New Revision: 207106

URL: http://llvm.org/viewvc/llvm-project?rev=207106&view=rev
Log:
ARM64: shut up warning about variable only used in assert.

Modified:
    llvm/trunk/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp

Modified: llvm/trunk/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp?rev=207106&r1=207105&r2=207106&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp Thu Apr 24 07:22:12 2014
@@ -1625,6 +1625,7 @@ static bool isBitfieldPositioningOp(Sele
                                     int &MaskWidth) {
   EVT VT = Op.getValueType();
   unsigned BitWidth = VT.getSizeInBits();
+  (void)BitWidth;
   assert(BitWidth == 32 || BitWidth == 64);
 
   APInt KnownZero, KnownOne;





More information about the llvm-commits mailing list