Skip to content
  • Dan Gohman's avatar
    Re-apply 70645, converting ScalarEvolution to use · 48f82222
    Dan Gohman authored
    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.
    
    llvm-svn: 70927
    48f82222
Loading