mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
SelectionDAGISel no longer needs to check hasAvailableExternallyLinkage,
as it is now a MachineFunctionPass, and MachineFunctionPass now handles this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77760 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4f3cfba575
commit
c32304e56e
@ -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>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user