Appease GCC's -Wparentheses.

(TIL that Clang's -Wparentheses ignores 'x || y && "foo"' on purpose. Neat.)

llvm-svn: 169337
This commit is contained in:
Matt Beaumont-Gay 2012-12-04 23:54:02 +00:00
parent 34c2eb2f99
commit 50f61b662f
1 changed files with 2 additions and 2 deletions

View File

@ -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)