summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-01 00:42:23 +0000
committerDan Gohman <gohman@apple.com>2009-08-01 00:42:23 +0000
commit1987bf4561fbf6dab4d8cf804e45776118f55cfd (patch)
treee113db651eb1b459f0ff98e30a7a9fef635be975 /llvm
parentac31be1e0670215fb2ca49aab24a244658427d96 (diff)
downloadbcm5719-llvm-1987bf4561fbf6dab4d8cf804e45776118f55cfd.tar.gz
bcm5719-llvm-1987bf4561fbf6dab4d8cf804e45776118f55cfd.zip
SelectionDAGISel no longer needs to check hasAvailableExternallyLinkage,
as it is now a MachineFunctionPass, and MachineFunctionPass now handles this. llvm-svn: 77760
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 301c5a7262c..5857db10815 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -306,11 +306,6 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
assert((!EnableFastISelAbort || EnableFastISel) &&
"-fast-isel-abort requires -fast-isel");
- // Do not codegen any 'available_externally' functions at all, they have
- // definitions outside the translation unit.
- if (Fn.hasAvailableExternallyLinkage())
- return false;
-
// Get alias analysis for load/store combining.
AA = &getAnalysis<AliasAnalysis>();
OpenPOWER on IntegriCloud