diff options
| author | Manman Ren <manman.ren@gmail.com> | 2015-04-08 22:02:11 +0000 |
|---|---|---|
| committer | Manman Ren <manman.ren@gmail.com> | 2015-04-08 22:02:11 +0000 |
| commit | ed6b5fc4b0ef3b277d9e2309323dcb3c6c4b4bd6 (patch) | |
| tree | 3448752a0d1537104b52944ae6c69873be9d6519 /llvm/lib | |
| parent | 42a3dfb22cf5dbaba041c4905563038a77580459 (diff) | |
| download | bcm5719-llvm-ed6b5fc4b0ef3b277d9e2309323dcb3c6c4b4bd6.tar.gz bcm5719-llvm-ed6b5fc4b0ef3b277d9e2309323dcb3c6c4b4bd6.zip | |
[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
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/LTO/LTOCodeGenerator.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/LTO/LTOCodeGenerator.cpp b/llvm/lib/LTO/LTOCodeGenerator.cpp index a6f980b77ba..ad73ddc5d7a 100644 --- a/llvm/lib/LTO/LTOCodeGenerator.cpp +++ b/llvm/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); |

