Skip to content
Commit 7a066723 authored by Dan Gohman's avatar Dan Gohman
Browse files

Make SCEVCallbackVH::allUsesReplacedWith update the old SCEVUnknown

object, as it may still be referenced by SCEVs not cleaned up by the
use list traversal.

Also, in ScalarEvolution::forgetValue, only check for a SCEVUnknown
object for the original value, not for any value in the use list,
because other SCEVUnknown values aren't necessary obsolete at that
point.

llvm-svn: 109570
parent ba803903
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment