diff options
author | Teresa Johnson <tejohnson@google.com> | 2018-06-06 22:22:01 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2018-06-06 22:22:01 +0000 |
commit | 4ffc3e7834fa516247d32fe6478a28bb1d303f3a (patch) | |
tree | 4f49ebc6609a102f9585064eba8e088c33067024 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 3cf6db2d561359936af097dc46b946a637f455d6 (diff) | |
download | llvm-4ffc3e7834fa516247d32fe6478a28bb1d303f3a.zip llvm-4ffc3e7834fa516247d32fe6478a28bb1d303f3a.tar.gz llvm-4ffc3e7834fa516247d32fe6478a28bb1d303f3a.tar.bz2 |
[ThinLTO] Rename index IsAnalysis flag to HaveGVs (NFC)
With the upcoming patch to add summary parsing support, IsAnalysis would
be true in contexts where we are not performing module summary analysis.
Rename to the more specific and approprate HaveGVs, which is essentially
what this flag is indicating.
llvm-svn: 334140
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
-rw-r--r-- | llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp b/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp index e6516c1..ca0a315 100644 --- a/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp +++ b/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp @@ -408,7 +408,7 @@ ModuleSummaryIndex llvm::buildModuleSummaryIndex( std::function<BlockFrequencyInfo *(const Function &F)> GetBFICallback, ProfileSummaryInfo *PSI) { assert(PSI); - ModuleSummaryIndex Index(/*IsPerformingAnalysis=*/true); + ModuleSummaryIndex Index(/*HaveGVs=*/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 |