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:
parent
80a04ddb6b
commit
bc327c6bd3
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user