projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac31be1
)
SelectionDAGISel no longer needs to check hasAvailableExternallyLinkage,
author
Dan Gohman
<gohman@apple.com>
Sat, 1 Aug 2009 00:42:23 +0000
(
00:42
+0000)
committer
Dan Gohman
<gohman@apple.com>
Sat, 1 Aug 2009 00:42:23 +0000
(
00:42
+0000)
as it is now a MachineFunctionPass, and MachineFunctionPass now handles
this.
llvm-svn: 77760
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index
301c5a7
..
5857db1
100644
(file)
--- 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>();