[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Feb 13 00:55:41 PST 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCISelLowering.cpp updated: 1.86 -> 1.87
---
Log message:

Switch to using getCALLSEQ_START instead of using our own creation calls


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

 PPCISelLowering.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.86 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.87
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.86	Tue Feb  7 14:16:30 2006
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp	Mon Feb 13 02:55:29 2006
@@ -730,8 +730,8 @@
   unsigned NumBytes = 24;
   
   if (Args.empty()) {
-    Chain = DAG.getNode(ISD::CALLSEQ_START, MVT::Other, Chain,
-                        DAG.getConstant(NumBytes, getPointerTy()));
+    Chain = DAG.getCALLSEQ_START(Chain,
+                                 DAG.getConstant(NumBytes, getPointerTy()));
   } else {
     for (unsigned i = 0, e = Args.size(); i != e; ++i) {
       switch (getValueType(Args[i].second)) {
@@ -757,8 +757,8 @@
     
     // Adjust the stack pointer for the new arguments...
     // These operations are automatically eliminated by the prolog/epilog pass
-    Chain = DAG.getNode(ISD::CALLSEQ_START, MVT::Other, Chain,
-                        DAG.getConstant(NumBytes, getPointerTy()));
+    Chain = DAG.getCALLSEQ_START(Chain,
+                                 DAG.getConstant(NumBytes, getPointerTy()));
     
     // Set up a copy of the stack pointer for use loading and storing any
     // arguments that may not fit in the registers available for argument






More information about the llvm-commits mailing list