diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-28 01:09:07 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-28 01:09:07 +0000 |
commit | 81f9121cda099f75e50485e79e8fdb423ae82792 (patch) | |
tree | b0a10d3a425e7c4f71a33c6269b0ec2cfc66117b /lib/Analysis/CaptureTracking.cpp | |
parent | 59846aced20b23882a97b92da5d653dc3f3e8526 (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
Diffstat (limited to 'lib/Analysis/CaptureTracking.cpp')
0 files changed, 0 insertions, 0 deletions