Changes in directory llvm/lib/CodeGen/SelectionDAG:

LegalizeDAG.cpp updated: 1.416 -> 1.417
---
Log message:

Fix PR988: http://llvm.org/PR988  and 
CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll.
The low part goes in the first operand of expandop, not the second one.


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

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


Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.416 
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.417
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.416 Thu Nov  2 14:25:49 2006
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp       Mon Nov  6 22:11:44 2006
@@ -2039,7 +2039,7 @@
     case Expand: {
       // Length is too big, just take the lo-part of the length.
       SDOperand HiPart;
-      ExpandOp(Node->getOperand(3), HiPart, Tmp4);
+      ExpandOp(Node->getOperand(3), Tmp4, HiPart);
       break;
     }
     case Legal:



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to