diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-12-04 23:54:02 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-12-04 23:54:02 +0000 |
commit | 50f61b662fa6f8e90ceba38940b79d5a48e4b6bd (patch) | |
tree | 61bbab42928b7a3110f70a3bc296aa3459cd86b6 | |
parent | 34c2eb2f9968b78c8c143ebdefddfe7d4f948cac (diff) | |
download | llvm-50f61b662fa6f8e90ceba38940b79d5a48e4b6bd.zip llvm-50f61b662fa6f8e90ceba38940b79d5a48e4b6bd.tar.gz llvm-50f61b662fa6f8e90ceba38940b79d5a48e4b6bd.tar.bz2 |
Appease GCC's -Wparentheses.
(TIL that Clang's -Wparentheses ignores 'x || y && "foo"' on purpose. Neat.)
llvm-svn: 169337
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 443ce63..c1b31b3 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/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) |