diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-02-02 21:29:10 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-02-02 21:29:10 +0000 |
commit | 942619695f4bd77934c09a1cae0fb39ae59edac3 (patch) | |
tree | eb971fa329023daf285f142fe0d7e5805b1424e5 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 00f488012c6c44bc6ee35a3078a0063e10f152e3 (diff) |
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 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 284b984f0a..646867993c 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -5735,7 +5735,7 @@ TargetLowering::LowerCallTo(SDValue Chain, const Type *RetTy, } SmallVector<SDValue, 4> InVals; - Chain = LowerCall(Chain, Callee, CallConv, isVarArg, isTailCall, + Chain = LowerCall(Chain, Callee, RetTy, CallConv, isVarArg, isTailCall, Outs, Ins, dl, DAG, InVals); // Verify that the target's LowerCall behaved as expected. |