From: Tim Northover Date: Thu, 24 Apr 2014 12:22:12 +0000 (+0000) Subject: ARM64: shut up warning about variable only used in assert. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f909da2becddcc6e0dd6b55dfa85fc271f0d04fe;p=oota-llvm.git ARM64: shut up warning about variable only used in assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207106 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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;