mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-10 12:32:21 +00:00
[LTO] do not run internalize pass from compileOptimized.
The input to compileOptimized is already optimized and internalized, so remove internalize pass from compileOptimized. rdar://20227235 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234446 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0400513fd3
commit
df9febccc7
@ -572,9 +572,6 @@ bool LTOCodeGenerator::compileOptimized(raw_ostream &out, std::string &errMsg) {
|
||||
|
||||
Module *mergedModule = IRLinker.getModule();
|
||||
|
||||
// Mark which symbols can not be internalized
|
||||
this->applyScopeRestrictions();
|
||||
|
||||
legacy::PassManager codeGenPasses;
|
||||
|
||||
formatted_raw_ostream Out(out);
|
||||
|
Loading…
x
Reference in New Issue
Block a user