mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-26 22:42:46 +02:00
silence a bogus GCC warning
llvm-svn: 23646
This commit is contained in:
parent
3b848038ab
commit
7709ee0085
@ -2455,7 +2455,7 @@ ExpandByParts(unsigned NodeOp, SDOperand LHS, SDOperand RHS,
|
||||
// FIXME: this should be moved to the dag combiner someday.
|
||||
assert(NodeOp == ISD::ADD_PARTS || NodeOp == ISD::SUB_PARTS);
|
||||
if (LHSL.getValueType() == MVT::i32) {
|
||||
SDOperand LowEl;
|
||||
SDOperand LowEl = SDOperand(0,0);
|
||||
if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(LHSL))
|
||||
if (C->getValue() == 0)
|
||||
LowEl = RHSL;
|
||||
|
Loading…
Reference in New Issue
Block a user