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

Chris Lattner lattner at cs.uiuc.edu
Thu May 12 12:57:03 PDT 2005



Changes in directory llvm/lib/Target/PowerPC:

PPC32ISelPattern.cpp updated: 1.85 -> 1.86
PPC64ISelPattern.cpp updated: 1.15 -> 1.16
---
Log message:

Pass in Calling Convention to use into LowerCallTo



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

 PPC32ISelPattern.cpp |    3 ++-
 PPC64ISelPattern.cpp |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.85 llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.86
--- llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.85	Wed May 11 21:06:00 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp	Thu May 12 14:56:45 2005
@@ -91,7 +91,7 @@
     /// LowerCallTo - This hook lowers an abstract call to a function into an
     /// actual call.
     virtual std::pair<SDOperand, SDOperand>
-    LowerCallTo(SDOperand Chain, const Type *RetTy, bool isVarArg,
+    LowerCallTo(SDOperand Chain, const Type *RetTy, bool isVarArg, unsigned CC,
                 SDOperand Callee, ArgListTy &Args, SelectionDAG &DAG);
 
     virtual std::pair<SDOperand, SDOperand>
@@ -279,6 +279,7 @@
 std::pair<SDOperand, SDOperand>
 PPC32TargetLowering::LowerCallTo(SDOperand Chain,
                                  const Type *RetTy, bool isVarArg,
+                                 unsigned CallingConv, 
                                  SDOperand Callee, ArgListTy &Args,
                                  SelectionDAG &DAG) {
   // args_to_use will accumulate outgoing args for the ISD::CALL case in


Index: llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp
diff -u llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp:1.15 llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp:1.16
--- llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp:1.15	Wed May 11 21:06:00 2005
+++ llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp	Thu May 12 14:56:45 2005
@@ -91,7 +91,7 @@
     /// LowerCallTo - This hook lowers an abstract call to a function into an
     /// actual call.
     virtual std::pair<SDOperand, SDOperand>
-    LowerCallTo(SDOperand Chain, const Type *RetTy, bool isVarArg,
+    LowerCallTo(SDOperand Chain, const Type *RetTy, bool isVarArg, unsigned CC,
                 SDOperand Callee, ArgListTy &Args, SelectionDAG &DAG);
 
     virtual std::pair<SDOperand, SDOperand>
@@ -235,6 +235,7 @@
 std::pair<SDOperand, SDOperand>
 PPC64TargetLowering::LowerCallTo(SDOperand Chain,
                                  const Type *RetTy, bool isVarArg,
+                                 unsigned CallingConv, 
                                  SDOperand Callee, ArgListTy &Args,
                                  SelectionDAG &DAG) {
   // args_to_use will accumulate outgoing args for the ISD::CALL case in






More information about the llvm-commits mailing list