Skip to content
  • Dan Gohman's avatar
    Make LoopSimplify change conditional branches in loop exiting blocks · a9c205cc
    Dan Gohman authored
    which branch on undef to branch on a boolean constant for the edge
    exiting the loop. This helps ScalarEvolution compute trip counts for
    loops.
    
    Teach ScalarEvolution to recognize single-value PHIs, when safe, and
    ForgetSymbolicName to forget such single-value PHI nodes as apprpriate
    in ForgetSymbolicName.
    
    llvm-svn: 97126
    a9c205cc
Loading