| commit | b72bbe2a92c0a14c84f56cef9e2c8df8c30c2621 | [log] [tgz] |
|---|---|---|
| author | Andrew Trick <atrick@apple.com> | Wed Aug 10 00:28:10 2011 +0000 |
| committer | Andrew Trick <atrick@apple.com> | Wed Aug 10 00:28:10 2011 +0000 |
| tree | 008a1d50fb996f528c9c9681bdd70b5b337a8e03 | |
| parent | 8059f0cf8dc2f2e98c75b786c849a3640e8ea88f [diff] |
Fix the LoopUnroller to handle nontrivial loops and partial unrolling. These are not individual bug fixes. I had to rewrite a good chunk of the unroller to make it sane. I think it was getting lucky on trivial completely unrolled loops with no early exits. I included some fairly simple unit tests for partial unrolling. I didn't do much stress testing, so it may not be perfect, but should be usable now. llvm-svn: 137190