diff --git a/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp b/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp index 6b68f3db525..43620ef8c38 100644 --- a/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp +++ b/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp @@ -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;