summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2018-01-21 07:27:32 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2018-01-21 07:27:32 +0000
commit453c976a637c2741a5d147a8a6d4bb111107053f (patch)
tree1fbbc92af93e506955e50bf5d086b8c8a0e8cee9 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent4dd524ed6a12923945c3dedaeb032ce24e4115e1 (diff)
downloadbcm5719-llvm-453c976a637c2741a5d147a8a6d4bb111107053f.tar.gz
bcm5719-llvm-453c976a637c2741a5d147a8a6d4bb111107053f.zip
[ThinLTO] Implement summary visualizer
Differential revision: https://reviews.llvm.org/D41297 llvm-svn: 323062
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
-rw-r--r--llvm/lib/Analysis/ModuleSummaryAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp b/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
index efa5bd564ad..cf2fe7776dd 100644
--- a/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
+++ b/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
@@ -372,7 +372,7 @@ ModuleSummaryIndex llvm::buildModuleSummaryIndex(
std::function<BlockFrequencyInfo *(const Function &F)> GetBFICallback,
ProfileSummaryInfo *PSI) {
assert(PSI);
- ModuleSummaryIndex Index;
+ ModuleSummaryIndex Index(/*IsPerformingAnalysis=*/true);
// Identify the local values in the llvm.used and llvm.compiler.used sets,
// which should not be exported as they would then require renaming and
OpenPOWER on IntegriCloud