[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp PPC64ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri May 13 11:50:43 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelPattern.cpp updated: 1.88 -> 1.89
PPC64ISelPattern.cpp updated: 1.18 -> 1.19
---
Log message:
Add an isTailCall flag to LowerCallTo
---
Diffs of the changes: (+6 -4)
PPC32ISelPattern.cpp | 5 +++--
PPC64ISelPattern.cpp | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.88 llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.89
--- llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.88 Fri May 13 11:18:54 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp Fri May 13 13:50:29 2005
@@ -94,7 +94,8 @@
/// actual call.
virtual std::pair<SDOperand, SDOperand>
LowerCallTo(SDOperand Chain, const Type *RetTy, bool isVarArg, unsigned CC,
- SDOperand Callee, ArgListTy &Args, SelectionDAG &DAG);
+ bool isTailCall, SDOperand Callee, ArgListTy &Args,
+ SelectionDAG &DAG);
virtual std::pair<SDOperand, SDOperand>
LowerVAStart(SDOperand Chain, SelectionDAG &DAG);
@@ -281,7 +282,7 @@
std::pair<SDOperand, SDOperand>
PPC32TargetLowering::LowerCallTo(SDOperand Chain,
const Type *RetTy, bool isVarArg,
- unsigned CallingConv,
+ unsigned CallingConv, bool isTailCall,
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.18 llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp:1.19
--- llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp:1.18 Fri May 13 11:20:22 2005
+++ llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp Fri May 13 13:50:29 2005
@@ -94,7 +94,8 @@
/// actual call.
virtual std::pair<SDOperand, SDOperand>
LowerCallTo(SDOperand Chain, const Type *RetTy, bool isVarArg, unsigned CC,
- SDOperand Callee, ArgListTy &Args, SelectionDAG &DAG);
+ bool isTailCall, SDOperand Callee, ArgListTy &Args,
+ SelectionDAG &DAG);
virtual std::pair<SDOperand, SDOperand>
LowerVAStart(SDOperand Chain, SelectionDAG &DAG);
@@ -237,7 +238,7 @@
std::pair<SDOperand, SDOperand>
PPC64TargetLowering::LowerCallTo(SDOperand Chain,
const Type *RetTy, bool isVarArg,
- unsigned CallingConv,
+ unsigned CallingConv, bool isTailCall,
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