ARM64: shut up warning about variable only used in assert.
[oota-llvm.git] / 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;