commit | 9194e8b0c827c97f396b209c7f4eeb75759e7068 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri Feb 13 03:58:31 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri Feb 13 03:58:31 2009 +0000 |
tree | c282871baf2c2da5cb036e3c626880bc461ab040 | |
parent | a200c8faf852f6caf386c592ec54c723d4b86b96 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64440 91177308-0d34-0410-b5e6-96231b3b80d8