SelectionDAGISel no longer needs to check hasAvailableExternallyLinkage,

as it is now a MachineFunctionPass, and MachineFunctionPass now handles
this.

llvm-svn: 77760
This commit is contained in:
Dan Gohman 2009-08-01 00:42:23 +00:00
parent ac31be1e06
commit 1987bf4561
1 changed files with 0 additions and 5 deletions

View File

@ -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>();