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 | e07c2606ba321b13198fa3c222a5076075d73cf3 (patch) | |
tree | 849a73cb27ba61e9835a61ba88dbaf769e98c214 /lib/LTO/LTO.cpp | |
parent | 6a08b7888b61661ae912f81cf56ee3f6eaee21b3 (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334140 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/LTO/LTO.cpp')
-rw-r--r-- | lib/LTO/LTO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/LTO/LTO.cpp b/lib/LTO/LTO.cpp index c74a7b39466..6077b3b1ba4 100644 --- a/lib/LTO/LTO.cpp +++ b/lib/LTO/LTO.cpp @@ -401,7 +401,7 @@ LTO::RegularLTOState::RegularLTOState(unsigned ParallelCodeGenParallelismLevel, Mover(llvm::make_unique<IRMover>(*CombinedModule)) {} LTO::ThinLTOState::ThinLTOState(ThinBackend Backend) - : Backend(Backend), CombinedIndex(/*IsPeformingAnalysis*/ false) { + : Backend(Backend), CombinedIndex(/*HaveGVs*/ false) { if (!Backend) this->Backend = createInProcessThinBackend(llvm::heavyweight_hardware_concurrency()); |