1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

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

llvm-svn: 207871
This commit is contained in:
Benjamin Kramer 2014-05-02 21:28:49 +00:00
parent 80a04ddb6b
commit bc327c6bd3

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