diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2017-01-15 00:26:18 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2017-01-15 00:26:18 +0000 |
commit | 2f19a324cb07c893ece46a45521c0a0bbd28a74a (patch) | |
tree | d044d647e8a544c7d77f7f5e4594a4aeddf79186 /llvm/lib/Analysis/LoopAnalysisManager.cpp | |
parent | 4b3dc18cf15aab6a0a05672f9794ce92e6ce8d64 (diff) | |
download | llvm-2f19a324cb07c893ece46a45521c0a0bbd28a74a.zip llvm-2f19a324cb07c893ece46a45521c0a0bbd28a74a.tar.gz llvm-2f19a324cb07c893ece46a45521c0a0bbd28a74a.tar.bz2 |
[PM] The assumption cache is fundamentally designed to be self-updating,
mark it as never invalidated in the new PM.
The old PM already required this to work, and after a discussion with
Hal this seems to really be the only sensible answer. The cache
gracefully degrades as the IR is mutated, and most things which do this
should already be incrementally updating the cache.
This gets rid of a bunch of logic preserving and testing the
invalidation of this analysis.
llvm-svn: 292039
Diffstat (limited to 'llvm/lib/Analysis/LoopAnalysisManager.cpp')
-rw-r--r-- | llvm/lib/Analysis/LoopAnalysisManager.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/LoopAnalysisManager.cpp b/llvm/lib/Analysis/LoopAnalysisManager.cpp index 5be3ee3..2946bae 100644 --- a/llvm/lib/Analysis/LoopAnalysisManager.cpp +++ b/llvm/lib/Analysis/LoopAnalysisManager.cpp @@ -145,7 +145,6 @@ LoopAnalysisManagerFunctionProxy::run(Function &F, PreservedAnalyses llvm::getLoopPassPreservedAnalyses() { PreservedAnalyses PA; - PA.preserve<AssumptionAnalysis>(); PA.preserve<DominatorTreeAnalysis>(); PA.preserve<LoopAnalysis>(); PA.preserve<LoopAnalysisManagerFunctionProxy>(); |