summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-30 20:11:21 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-30 20:11:21 +0000
commit0747bc1df685771cb342e5fa72b41a4221c248f5 (patch)
tree3856b1fd9226047dc2c3ca55110e5bf8fc095e6b /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent9f39660c20a9018fcc963697a4ca70a88450d2c8 (diff)
downloadbcm5719-llvm-0747bc1df685771cb342e5fa72b41a4221c248f5.tar.gz
bcm5719-llvm-0747bc1df685771cb342e5fa72b41a4221c248f5.zip
Typo.
llvm-svn: 43511
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index b423d68e0f0..140d80a7119 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/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),
OpenPOWER on IntegriCloud