Add parentheses to suppress the gcc warning '-Wparentheses'.

No functional changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209203 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Simon Atanasyan 2014-05-20 10:23:04 +00:00
parent 51af588366
commit 57a98baa07

View File

@ -20294,8 +20294,8 @@ static SDValue PerformINSERTPSCombine(SDNode *N, SelectionDAG &DAG,
const X86Subtarget *Subtarget) {
SDLoc dl(N);
MVT VT = N->getOperand(1)->getSimpleValueType(0);
assert(VT == MVT::v4f32 ||
VT == MVT::v4i32 && "X86insertps is only defined for v4x32");
assert((VT == MVT::v4f32 || VT == MVT::v4i32) &&
"X86insertps is only defined for v4x32");
SDValue Ld = N->getOperand(1);
if (MayFoldLoad(Ld)) {