projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0400513
)
[LTO] do not run internalize pass from compileOptimized.
author
Manman Ren
<manman.ren@gmail.com>
Wed, 8 Apr 2015 22:02:11 +0000
(22:02 +0000)
committer
Manman Ren
<manman.ren@gmail.com>
Wed, 8 Apr 2015 22:02:11 +0000
(22:02 +0000)
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
lib/LTO/LTOCodeGenerator.cpp
patch
|
blob
|
history
diff --git
a/lib/LTO/LTOCodeGenerator.cpp
b/lib/LTO/LTOCodeGenerator.cpp
index a6f980b77baf004cb63663ac14fb247ebceef5d3..ad73ddc5d7a3d483379b38e77488c15edd56b443 100644
(file)
--- a/
lib/LTO/LTOCodeGenerator.cpp
+++ b/
lib/LTO/LTOCodeGenerator.cpp
@@
-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);