summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-02-02 21:29:10 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-02-02 21:29:10 +0000
commitc1b0116ff1d4abb9e60e2120d56eb6d3d7c58522 (patch)
tree763d9cf7bdaa500ac50f1be85bf970dc88c1f6bf /llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
parent416b9237864883f33da3a4044db4c924a7294824 (diff)
downloadbcm5719-llvm-c1b0116ff1d4abb9e60e2120d56eb6d3d7c58522.tar.gz
bcm5719-llvm-c1b0116ff1d4abb9e60e2120d56eb6d3d7c58522.zip
Pass callsite return type to TargetLowering::LowerCall and use that to check sibcall eligibility.
llvm-svn: 95130
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16ISelLowering.cpp')
-rw-r--r--llvm/lib/Target/PIC16/PIC16ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp b/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
index 7754a4f1458..d9add7f398d 100644
--- a/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
+++ b/llvm/lib/Target/PIC16/PIC16ISelLowering.cpp
@@ -1353,7 +1353,7 @@ GetDataAddress(DebugLoc dl, SDValue Callee, SDValue &Chain,
}
SDValue
-PIC16TargetLowering::LowerCall(SDValue Chain, SDValue Callee,
+PIC16TargetLowering::LowerCall(SDValue Chain, SDValue Callee, const Type *RetTy,
CallingConv::ID CallConv, bool isVarArg,
bool &isTailCall,
const SmallVectorImpl<ISD::OutputArg> &Outs,
OpenPOWER on IntegriCloud