summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM64
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-04-24 12:22:12 +0000
committerTim Northover <tnorthover@apple.com>2014-04-24 12:22:12 +0000
commit49153037d45d8c0ed040ed2d55e3f6a51f7edb40 (patch)
tree0759b6a981517e5d63594b3c9e9fa6b206539c76 /llvm/lib/Target/ARM64
parent79ec019261e44ad5c03194aa124e4a5b1be04f7d (diff)
downloadbcm5719-llvm-49153037d45d8c0ed040ed2d55e3f6a51f7edb40.tar.gz
bcm5719-llvm-49153037d45d8c0ed040ed2d55e3f6a51f7edb40.zip
ARM64: shut up warning about variable only used in assert.
llvm-svn: 207106
Diffstat (limited to 'llvm/lib/Target/ARM64')
-rw-r--r--llvm/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp b/llvm/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp
index 6b68f3db525..43620ef8c38 100644
--- a/llvm/lib/Target/ARM64/ARM64ISelDAGToDAG.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud