Skip to content
  • Dan Gohman's avatar
    Generalize IVUsers to track arbitrary expressions rather than expressions · d006ab90
    Dan Gohman authored
    explicitly split into stride-and-offset pairs. Also, add the
    ability to track multiple post-increment loops on the same expression.
    
    This refines the concept of "normalizing" SCEV expressions used for
    to post-increment uses, and introduces a dedicated utility routine for
    normalizing and denormalizing expressions.
    
    This fixes the expansion of expressions which are post-increment users
    of more than one loop at a time. More broadly, this takes LSR another
    step closer to being able to reason about more than one loop at a time.
    
    llvm-svn: 100699
    d006ab90
Loading