summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/ScalarEvolution/invalidation.ll
Commit message (Collapse)AuthorAgeFilesLines
* [PM] The assumption cache is fundamentally designed to be self-updating,Chandler Carruth2017-01-151-13/+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 SCEV to invalidate itself when its dependencies becomeChandler Carruth2017-01-091-0/+70
invalid. This fixes use-after-free bugs that will arise with any interesting use of SCEV. I've added a dedicated test that works diligently to trigger these kinds of bugs in the new pass manager and also checks for them explicitly as well as triggering ASan failures when things go squirly. llvm-svn: 291426
OpenPOWER on IntegriCloud