Skip to content
  • Dan Gohman's avatar
    Fix the code that checked if a SCEVAddRecExpr Start contains an · f71a4737
    Dan Gohman authored
    addrec in a different loop to check the value being added to
    the accumulated Start value, not the Start value before it has
    the new value added to it. This prevents LSR from going crazy
    on the included testcase. Dale, please review.
    
    llvm-svn: 64440
    f71a4737
Loading