aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commitca6c93430e98e3fb0eaf40aa543ea1dc45cf35d7 (patch)
treeeb971fa329023daf285f142fe0d7e5805b1424e5 /include
parentcd8ca7e941dfe24aa8b61d3fda092d4b0e224502 (diff)
downloadexternal_llvm-ca6c93430e98e3fb0eaf40aa543ea1dc45cf35d7.tar.gz
external_llvm-ca6c93430e98e3fb0eaf40aa543ea1dc45cf35d7.tar.bz2
external_llvm-ca6c93430e98e3fb0eaf40aa543ea1dc45cf35d7.zip
Pass callsite return type to TargetLowering::LowerCall and use that to check sibcall eligibility.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index e172edf4dd..55619de060 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -1168,7 +1168,7 @@ public:
/// InVals array with legal-type return values from the call, and return
/// the resulting token chain value.
virtual SDValue
- LowerCall(SDValue Chain, SDValue Callee,
+ LowerCall(SDValue Chain, SDValue Callee, const Type *RetTy,
CallingConv::ID CallConv, bool isVarArg, bool &isTailCall,
const SmallVectorImpl<ISD::OutputArg> &Outs,
const SmallVectorImpl<ISD::InputArg> &Ins,