ARM64: shut up warning about variable only used in assert.
authorTim Northover <tnorthover@apple.com>
Thu, 24 Apr 2014 12:22:12 +0000 (12:22 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 24 Apr 2014 12:22:12 +0000 (12:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207106 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM64/ARM64ISelDAGToDAG.cpp

index 6b68f3db52513efad89f271ab68c114fbc4bed5f..43620ef8c38192b050b3c25e2be3355e1854843c 100644 (file)
@@ -1625,6 +1625,7 @@ static bool isBitfieldPositioningOp(SelectionDAG *CurDAG, SDValue Op,
                                     int &MaskWidth) {
   EVT VT = Op.getValueType();
   unsigned BitWidth = VT.getSizeInBits();
+  (void)BitWidth;
   assert(BitWidth == 32 || BitWidth == 64);
 
   APInt KnownZero, KnownOne;