Skip to content
Commit 082c183f authored by Chandler Carruth's avatar Chandler Carruth
Browse files

[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.

llvm-svn: 291426
parent de0d34a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment