summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2011-11-03 21:49:52 +0000
committerDan Gohman <gohman@apple.com>2011-11-03 21:49:52 +0000
commit65fd6564b8aedd053845c81ede1ac594acb470e4 (patch)
treef19ddc06c87ea063a692d3030c0e663c601655cd /lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
parent89b6f2ea9fdba7e99820bed7ecbbfedd549c9a10 (diff)
downloadllvm-65fd6564b8aedd053845c81ede1ac594acb470e4.tar.gz
llvm-65fd6564b8aedd053845c81ede1ac594acb470e4.tar.bz2
llvm-65fd6564b8aedd053845c81ede1ac594acb470e4.tar.xz
Reapply r143206, with fixes. Disallow physical register lifetimes
across calls, and only check for nested dependences on the special call-sequence-resource register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypes.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypes.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
index a4bb577433..7ed1b98f10 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
+++ b/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
@@ -1084,7 +1084,6 @@ DAGTypeLegalizer::ExpandChainLibCall(RTLIB::Libcall LC,
SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC),
TLI.getPointerTy());
- // Splice the libcall in wherever FindInputOutputChains tells us to.
Type *RetTy = Node->getValueType(0).getTypeForEVT(*DAG.getContext());
std::pair<SDValue, SDValue> CallInfo =
TLI.LowerCallTo(InChain, RetTy, isSigned, !isSigned, false, false,