Satisfy GCC's urgent need for parentheses around ‘&&’ within ‘||’.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207871 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2014-05-02 21:28:49 +00:00
parent d036fefe34
commit 71aafce117

View File

@ -2924,8 +2924,8 @@ SDValue SelectionDAG::FoldConstantArithmetic(unsigned Opcode, EVT VT,
}
}
assert((Scalar1 && Scalar2) ||
VT.getVectorNumElements() == Outputs.size() && "No scalar or vector!");
assert((Scalar1 && Scalar2) || (VT.getVectorNumElements() == Outputs.size() &&
"Expected a scalar or vector!"));
// Handle the scalar case first.
if (!VT.isVector())