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:
d61de35
)
Typo.
author
Evan Cheng
<evan.cheng@apple.com>
Tue, 30 Oct 2007 20:11:21 +0000
(20:11 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Tue, 30 Oct 2007 20:11:21 +0000
(20:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43511
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index b423d68e0f06b8cad9eaec438021cba94e1b1c19..140d80a711990a3d96f79874dbbade59ec96de77 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@
-2771,7
+2771,7
@@
SDOperand DAGCombiner::visitZERO_EXTEND(SDNode *N) {
if (SOp == Trunc)
Ops.push_back(ExtLoad);
else
- Ops.push_back(DAG.getNode(ISD::
SIGN
_EXTEND, VT, SOp));
+ Ops.push_back(DAG.getNode(ISD::
ZERO
_EXTEND, VT, SOp));
}
Ops.push_back(SetCC->getOperand(2));
CombineTo(SetCC, DAG.getNode(ISD::SETCC, SetCC->getValueType(0),