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/Bitcode | |
| parent | 3cf6db2d561359936af097dc46b946a637f455d6 (diff) | |
| download | bcm5719-llvm-4ffc3e7834fa516247d32fe6478a28bb1d303f3a.tar.gz bcm5719-llvm-4ffc3e7834fa516247d32fe6478a28bb1d303f3a.zip | |
[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/Bitcode')
| -rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 5f044f41dfd..a0347a154e8 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -5779,8 +5779,7 @@ Expected<std::unique_ptr<ModuleSummaryIndex>> BitcodeModule::getSummary() { BitstreamCursor Stream(Buffer); Stream.JumpToBit(ModuleBit); - auto Index = - llvm::make_unique<ModuleSummaryIndex>(/*IsPerformingAnalysis=*/false); + auto Index = llvm::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false); ModuleSummaryIndexBitcodeReader R(std::move(Stream), Strtab, *Index, ModuleIdentifier, 0); |

