diff options
author | Dan Gohman <gohman@apple.com> | 2009-05-04 22:30:44 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-05-04 22:30:44 +0000 |
commit | 35738ac150afafe2359268d4b2169498c6c98c5f (patch) | |
tree | ac250e567776d377d07d242c1b9c94c2d04d6176 /lib/CodeGen/PostRASchedulerList.cpp | |
parent | bf2176a00092540e18e8922487975cabefed8265 (diff) |
Re-apply 70645, converting ScalarEvolution to use
CallbackVH, with fixes. allUsesReplacedWith need to
walk the def-use chains and invalidate all users of a
value that is replaced. SCEVs of users need to be
recalcualted even if the new value is equivalent. Also,
make forgetLoopPHIs walk def-use chains, since any
SCEV that depends on a PHI should be recalculated when
more information about that PHI becomes available.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70927 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PostRASchedulerList.cpp')
0 files changed, 0 insertions, 0 deletions