Skip to content
  • Chris Lattner's avatar
    make better use of LCSSA information in RewriteLoopExitValues. Before, we · d7b4c92c
    Chris Lattner authored
    would scan the entire loop body, then scan all users of instructions in the
    loop, looking for users outside the loop.  Now, since we know that the
    loop is in LCSSA form, we know that any users outside the loop will be LCSSA
    phi nodes.  Just scan them.
    
    This speeds up indvars significantly.
    
    llvm-svn: 34898
    d7b4c92c
Loading