mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-02 16:21:36 +00:00
silence a bogus GCC warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23646 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8a61a7524a
commit
cf5c79b34f
@ -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…
x
Reference in New Issue
Block a user