| commit | 2b6860f0a194d9b3cf29d0827a321f118c64fd40 | [log] [tgz] |
|---|---|---|
| author | Andrew Trick <atrick@apple.com> | Thu Aug 11 23:36:16 2011 +0000 |
| committer | Andrew Trick <atrick@apple.com> | Thu Aug 11 23:36:16 2011 +0000 |
| tree | e7791dc60edfd56795e205f7a0cfc3b859edd48f | |
| parent | 1d233f9a5e2219df131ebfc33a8978f80fe57960 [diff] |
Allow loop unrolling to get known trip counts from ScalarEvolution. SCEV unrolling can unroll loops with arbitrary induction variables. It is a prerequisite for -disable-iv-rewrite performance. It is also easily handles loops of arbitrary structure including multiple exits and is generally more robust. This is under a temporary option to avoid affecting default behavior for the next couple of weeks. It is needed so that I can checkin unit tests for updateUnloop. llvm-svn: 137384