projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a61a75
)
silence a bogus GCC warning
author
Chris Lattner
<sabre@nondot.org>
Thu, 6 Oct 2005 17:39:10 +0000
(17:39 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 6 Oct 2005 17:39:10 +0000
(17:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23646
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 55f6a2e4e72fc746c211110b9ea74335ae8084ca..0e071b18cad2cbadbccbcc791588ae06562e041d 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-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;