Skip to content
Commit f71a4737 authored by Dan Gohman's avatar Dan Gohman
Browse files

Fix the code that checked if a SCEVAddRecExpr Start contains an

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
parent 026b56a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment