diff options
author | Arthur Eubanks <aeubanks@google.com> | 2021-05-06 16:30:39 -0700 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2021-05-18 13:49:03 -0700 |
commit | 6b9524a05bab21c6b0ba4fe025864cb613605b99 (patch) | |
tree | 65dac1ad17cdbf8acb5cd11d30eb6776d56a0fce /llvm/lib/Analysis/LoopAnalysisManager.cpp | |
parent | fd5e79ff12204b5850cca364fc669fa10eb9a1a5 (diff) | |
download | llvm-6b9524a05bab21c6b0ba4fe025864cb613605b99.zip llvm-6b9524a05bab21c6b0ba4fe025864cb613605b99.tar.gz llvm-6b9524a05bab21c6b0ba4fe025864cb613605b99.tar.bz2 |
[NewPM] Don't mark AA analyses as preserved
Currently all AA analyses marked as preserved are stateless, not taking
into account their dependent analyses. So there's no need to mark them
as preserved, they won't be invalidated unless their analyses are.
SCEVAAResults was the one exception to this, it was treated like a
typical analysis result. Make it like the others and don't invalidate
unless SCEV is invalidated.
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D102032
Diffstat (limited to 'llvm/lib/Analysis/LoopAnalysisManager.cpp')
-rw-r--r-- | llvm/lib/Analysis/LoopAnalysisManager.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Analysis/LoopAnalysisManager.cpp b/llvm/lib/Analysis/LoopAnalysisManager.cpp index 4ad5641..4d6f8a6 100644 --- a/llvm/lib/Analysis/LoopAnalysisManager.cpp +++ b/llvm/lib/Analysis/LoopAnalysisManager.cpp @@ -143,11 +143,5 @@ PreservedAnalyses llvm::getLoopPassPreservedAnalyses() { PA.preserve<LoopAnalysis>(); PA.preserve<LoopAnalysisManagerFunctionProxy>(); PA.preserve<ScalarEvolutionAnalysis>(); - // FIXME: What we really want to do here is preserve an AA category, but that - // concept doesn't exist yet. - PA.preserve<AAManager>(); - PA.preserve<BasicAA>(); - PA.preserve<GlobalsAA>(); - PA.preserve<SCEVAA>(); return PA; } |