Typo.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 30 Oct 2007 20:11:21 +0000 (20:11 +0000)
committerEvan 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

index b423d68e0f06b8cad9eaec438021cba94e1b1c19..140d80a711990a3d96f79874dbbade59ec96de77 100644 (file)
@@ -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),