summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/MemoryDependenceAnalysis/invalidation.ll
Commit message (Collapse)AuthorAgeFilesLines
* [AliasAnalysis/NewPassManager] Invalidate AAManager less often.Alina Sbirlea2019-04-301-4/+3
| | | | | | | | | | | | | | | | | | | | | Summary: This is a redo of D60914. The objective is to not invalidate AAManager, which is stateless, unless there is an explicit invalidate in one of the AAResults. To achieve this, this patch adds an API to PAC, to check precisely this: is this analysis not invalidated explicitly == is this analysis not abandoned == is this analysis stateless, so preserved without explicitly being marked as preserved by everyone Reviewers: chandlerc Subscribers: mehdi_amini, jlebar, george.burgess.iv, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D61284 llvm-svn: 359622
* Revert [AliasAnalysis] AAResults preserves AAManager.Alina Sbirlea2019-04-241-3/+4
| | | | | | Triggers use-after-free. llvm-svn: 359055
* [AliasAnalysis] AAResults preserves AAManager.Alina Sbirlea2019-04-231-4/+3
| | | | | | | | | | | | | | | | Summary: AAResults should not invalidate AAManager. Update tests. Reviewers: chandlerc Subscribers: mehdi_amini, jlebar, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60914 llvm-svn: 359014
* [PM] The assumption cache is fundamentally designed to be self-updating,Chandler Carruth2017-01-151-14/+0
| | | | | | | | | | | | | | 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
* [PM] Teach MemDep to invalidate its result object when its cachedChandler Carruth2016-12-271-0/+76
analysis handles become invalid. Add a test case for its invalidation logic. llvm-svn: 290620
OpenPOWER on IntegriCloud