From f909da2becddcc6e0dd6b55dfa85fc271f0d04fe Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Thu, 24 Apr 2014 12:22:12 +0000 Subject: [PATCH] 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 --- lib/Target/ARM64/ARM64ISelDAGToDAG.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.34.1