Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [PM] The assumption cache is fundamentally designed to be self-updating, | Chandler Carruth | 2017-01-15 | 1 | -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 become | Chandler Carruth | 2017-01-09 | 1 | -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 |