summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2011-10-29 00:41:52 +0000
committerDan Gohman <gohman@apple.com>2011-10-29 00:41:52 +0000
commit6f3ddef7c51f03945644ad0e69068dfb24d4b092 (patch)
tree55c5e829eb07e614dae3c5e99d7c250c95eda141 /lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
parent29ceb7c104155b5ce107a7defa89fd4457dbbdb5 (diff)
downloadllvm-6f3ddef7c51f03945644ad0e69068dfb24d4b092.tar.gz
llvm-6f3ddef7c51f03945644ad0e69068dfb24d4b092.tar.bz2
llvm-6f3ddef7c51f03945644ad0e69068dfb24d4b092.tar.xz
Revert r143206, as there are still some failing tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypes.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
index 7ed1b98f10..a4bb577433 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
+++ b/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
@@ -1084,6 +1084,7 @@ 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,