[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Aug 21 13:25:07 PDT 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

LegalizeDAG.cpp updated: 1.387 -> 1.388
---
Log message:

Fix PR861: http://llvm.org/PR861 


---
Diffs of the changes:  (+1 -0)

 LegalizeDAG.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.387 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.388
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.387	Mon Aug 14 18:53:35 2006
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp	Mon Aug 21 15:24:53 2006
@@ -1502,6 +1502,7 @@
           SDOperand Lo, Hi;
           ExpandOp(Tmp2, Lo, Hi);
           Result = DAG.getNode(ISD::RET, MVT::Other, Tmp1, Lo, Tmp3, Hi, Tmp3);
+          Result = LegalizeOp(Result);
         } else {
           SDNode *InVal = Tmp2.Val;
           unsigned NumElems =






More information about the llvm-commits mailing list