projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f10e66
)
[LTO] Move finishOptimizationRemarks after codegen
author
Adam Nemet
<anemet@apple.com>
Mon, 28 Nov 2016 16:51:49 +0000
(16:51 +0000)
committer
Adam Nemet
<anemet@apple.com>
Mon, 28 Nov 2016 16:51:49 +0000
(16:51 +0000)
This addresses the comment D26832.
llvm-svn: 288041
llvm/lib/LTO/LTOCodeGenerator.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/LTO/LTOCodeGenerator.cpp
b/llvm/lib/LTO/LTOCodeGenerator.cpp
index
784f316
..
5aa91c4
100644
(file)
--- a/
llvm/lib/LTO/LTOCodeGenerator.cpp
+++ b/
llvm/lib/LTO/LTOCodeGenerator.cpp
@@
-567,8
+567,6
@@
bool LTOCodeGenerator::optimize(bool DisableVerify, bool DisableInline,
// Run our queue of passes all at once now, efficiently.
passes.run(*MergedModule);
- finishOptimizationRemarks();
-
return true;
}
@@
-604,6
+602,8
@@
bool LTOCodeGenerator::compileOptimized(ArrayRef<raw_pwrite_stream *> Out) {
if (llvm::AreStatisticsEnabled())
llvm::PrintStatistics();
+ finishOptimizationRemarks();
+
return true;
}