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 | c1b0116ff1d4abb9e60e2120d56eb6d3d7c58522 (patch) | |
| tree | 763d9cf7bdaa500ac50f1be85bf970dc88c1f6bf /llvm/lib/CodeGen | |
| parent | 416b9237864883f33da3a4044db4c924a7294824 (diff) | |
| download | bcm5719-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/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 284b984f0a1..646867993ce 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/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. |

