commit | fd6b2f823ee91dc4524b7a2f37f581c01da412d0 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Wed Jul 28 01:09:07 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Wed Jul 28 01:09:07 2010 +0000 |
tree | b0a10d3a425e7c4f71a33c6269b0ec2cfc66117b | |
parent | cc3e908ceb5cc730d84672aedc4250721f232d12 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109570 91177308-0d34-0410-b5e6-96231b3b80d8