commit | f7babeb5d8e4d5d3b069fdda72285671fa74a2de | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Mon Jan 09 07:44:34 2017 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Mon Jan 09 07:44:34 2017 +0000 |
tree | 62b1ba8f36cff8166cd0d529a339e1b9a4a2b05d | |
parent | a72cf1129dd4856f505e3e97dcfa45dcc3f3ff73 [diff] |
[PM] Teach SCEV to invalidate itself when its dependencies become 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291426 91177308-0d34-0410-b5e6-96231b3b80d8