mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-28 15:41:58 +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 llvm-svn: 234446
This commit is contained in:
parent
a1ad440430
commit
7ff426c139
@ -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