summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-08 01:00:56 +0000
committerDan Gohman <gohman@apple.com>2010-07-08 01:00:56 +0000
commite75704369db335e523287ca851eccf3a77b1557a (patch)
tree04067e9d8743c5487ee84fecd3657998a4d1b0b7 /llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
parent6533f24370619009f93a93b74d90866df1da0883 (diff)
downloadbcm5719-llvm-e75704369db335e523287ca851eccf3a77b1557a.tar.gz
bcm5719-llvm-e75704369db335e523287ca851eccf3a77b1557a.zip
Revert 107840 107839 107813 107804 107800 107797 107791.
Debug info intrinsics win for now. llvm-svn: 107850
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
index 55171fca096..8c4211ab29a 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
@@ -78,13 +78,6 @@ void FunctionLoweringInfo::set(const Function &fn, MachineFunction &mf) {
MF = &mf;
RegInfo = &MF->getRegInfo();
- // Check whether the function can return without sret-demotion.
- SmallVector<ISD::OutputArg, 4> Outs;
- GetReturnInfo(Fn->getReturnType(),
- Fn->getAttributes().getRetAttributes(), Outs, TLI);
- CanLowerReturn = TLI.CanLowerReturn(Fn->getCallingConv(), Fn->isVarArg(),
- Outs, Fn->getContext());
-
// Create a vreg for each argument register that is not dead and is used
// outside of the entry block for the function.
for (Function::const_arg_iterator AI = Fn->arg_begin(), E = Fn->arg_end();
OpenPOWER on IntegriCloud