mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
d036fefe34
commit
71aafce117
@ -2924,8 +2924,8 @@ SDValue SelectionDAG::FoldConstantArithmetic(unsigned Opcode, EVT VT,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
assert((Scalar1 && Scalar2) ||
|
assert((Scalar1 && Scalar2) || (VT.getVectorNumElements() == Outputs.size() &&
|
||||||
VT.getVectorNumElements() == Outputs.size() && "No scalar or vector!");
|
"Expected a scalar or vector!"));
|
||||||
|
|
||||||
// Handle the scalar case first.
|
// Handle the scalar case first.
|
||||||
if (!VT.isVector())
|
if (!VT.isVector())
|
||||||
|
Loading…
Reference in New Issue
Block a user