aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-12-04 23:54:02 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-12-04 23:54:02 +0000
commit105ab4fe4bffcaf339e4943b98c6155a0883284a (patch)
tree41dccb4d47bfd9e9a2e0183f4b5fa58400e8bef6 /lib/Target/ARM/ARMISelLowering.cpp
parente01b81be33ebbc3e087d758341de0c2ba5d44135 (diff)
downloadexternal_llvm-105ab4fe4bffcaf339e4943b98c6155a0883284a.zip
external_llvm-105ab4fe4bffcaf339e4943b98c6155a0883284a.tar.gz
external_llvm-105ab4fe4bffcaf339e4943b98c6155a0883284a.tar.bz2
Appease GCC's -Wparentheses.
(TIL that Clang's -Wparentheses ignores 'x || y && "foo"' on purpose. Neat.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169337 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index 443ce63..c1b31b3 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -3660,8 +3660,8 @@ static SDValue LowerCTPOP(SDNode *N, SelectionDAG &DAG,
EVT VT = N->getValueType(0);
assert(ST->hasNEON() && "Custom ctpop lowering requires NEON.");
- assert((VT == MVT::v2i32 || VT == MVT::v4i32) ||
- (VT == MVT::v4i16 || VT == MVT::v8i16) &&
+ assert((VT == MVT::v2i32 || VT == MVT::v4i32 ||
+ VT == MVT::v4i16 || VT == MVT::v8i16) &&
"Unexpected type for custom ctpop lowering");
if (VT.getVectorElementType() == MVT::i32)