commit | 204494149b6f846e8f173f525b129f5508076049 | [log] [tgz] |
---|---|---|
author | Andrew Trick <atrick@apple.com> | Tue Oct 11 02:28:51 2011 +0000 |
committer | Andrew Trick <atrick@apple.com> | Tue Oct 11 02:28:51 2011 +0000 |
tree | b11301c696f341594215cf9edbbd1bdfcb9a4551 | |
parent | b58078be33d3b2ffece4f4f21aa26686bcc22930 [diff] |
Move replaceCongruentIVs into SCEVExapander and bias toward "expanded" IVs. Indvars previously chose randomly between congruent IVs. Now it will bias the decision toward IVs that SCEVExpander likes to create. This was not done to fix any problem, it's just a welcome side effect of factoring code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141633 91177308-0d34-0410-b5e6-96231b3b80d8