commit | 948c8a3e3d7349c67e5d9231d9e99b2692623630 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Apr 26 21:46:36 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Apr 26 21:46:36 2010 +0000 |
tree | df1112fb89185334963f2c3c48a45a1833371126 | |
parent | 585c40129fdf375fe2d85dd1de6a57e716ddef43 [diff] |
When checking whether the special handling for an addrec increment which doesn't dominate the header is needed, don't check whether the increment expression has computable loop evolution. While the operands of an addrec are required to be loop-invariant, they're not required to dominate any part of the loop. This fixes PR6914. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102389 91177308-0d34-0410-b5e6-96231b3b80d8