Skip to content
Commit ac7947ec authored by Craig Topper's avatar Craig Topper
Browse files

[ScalarEvolution] Change addRequired to addRequiredTransitive on two passes...

[ScalarEvolution] Change addRequired to addRequiredTransitive on two passes where ScalarEvolution stores long lived raw pointers to objects those passes own.

This prevents the pointers from dangling when those passes are freed.

http://reviews.llvm.org/D11236
Patch by Steve King.

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