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/Transforms/InstCombine | |
parent | 4b3dc18cf15aab6a0a05672f9794ce92e6ce8d64 (diff) | |
download | bcm5719-llvm-2f19a324cb07c893ece46a45521c0a0bbd28a74a.tar.gz bcm5719-llvm-2f19a324cb07c893ece46a45521c0a0bbd28a74a.zip |
[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/Transforms/InstCombine')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstructionCombining.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp index b2c4baae99b..8ba19fd02f8 100644 --- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp +++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp @@ -3179,7 +3179,6 @@ PreservedAnalyses InstCombinePass::run(Function &F, // FIXME: This should also 'preserve the CFG'. PreservedAnalyses PA; PA.preserve<AAManager>(); - PA.preserve<AssumptionAnalysis>(); PA.preserve<DominatorTreeAnalysis>(); PA.preserve<GlobalsAA>(); return PA; |