summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCISelLowering.h
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2011-10-14 19:51:36 +0000
committerHal Finkel <hfinkel@anl.gov>2011-10-14 19:51:36 +0000
commitd712f935f7e027a733741e6ca67b3237a59f65d1 (patch)
tree756691d0e5d4805ddc1f884408258f8a7482a6a1 /lib/Target/PowerPC/PPCISelLowering.h
parent1ce2668c8484ce838b5515f519eb484e57058293 (diff)
downloadllvm-d712f935f7e027a733741e6ca67b3237a59f65d1.tar.gz
llvm-d712f935f7e027a733741e6ca67b3237a59f65d1.tar.bz2
llvm-d712f935f7e027a733741e6ca67b3237a59f65d1.tar.xz
Add an implementation of the CanLowerReturn function to the PPC backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelLowering.h')
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.h b/lib/Target/PowerPC/PPCISelLowering.h
index 5f825bdfd3..430e45e804 100644
--- a/lib/Target/PowerPC/PPCISelLowering.h
+++ b/lib/Target/PowerPC/PPCISelLowering.h
@@ -445,6 +445,12 @@ namespace llvm {
DebugLoc dl, SelectionDAG &DAG,
SmallVectorImpl<SDValue> &InVals) const;
+ virtual bool
+ CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
+ bool isVarArg,
+ const SmallVectorImpl<ISD::OutputArg> &Outs,
+ LLVMContext &Context) const;
+
virtual SDValue
LowerReturn(SDValue Chain,
CallingConv::ID CallConv, bool isVarArg,