[llvm-commits] [llvm] r43511 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Evan Cheng evan.cheng at apple.com
Tue Oct 30 13:11:21 PDT 2007


Author: evancheng
Date: Tue Oct 30 15:11:21 2007
New Revision: 43511

URL: http://llvm.org/viewvc/llvm-project?rev=43511&view=rev
Log:
Typo.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=43511&r1=43510&r2=43511&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Tue Oct 30 15:11:21 2007
@@ -2771,7 +2771,7 @@
           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),





More information about the llvm-commits mailing list