llvm-6502/test/Transforms/LoopUnroll
Andrew Trick 5d73448bb7 Add -unroll-runtime for unrolling loops with run-time trip counts.
Patch by Brendon Cahoon!

This extends the existing LoopUnroll and LoopUnrollPass. Brendon
measured no regressions in the llvm test suite with -unroll-runtime
enabled. This implementation works by using the existing loop
unrolling code to unroll the loop by a power-of-two (default 8). It
generates an if-then-else sequence of code prior to the loop to
execute the extra iterations before entering the unrolled loop.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146245 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-09 06:19:40 +00:00
..
2004-05-13-DontUnrollTooMuch.ll
2005-03-06-BadLoopInfoUpdate.ll
2006-08-24-MultiBlockLoop.ll
2007-04-16-PhiUpdate.ll
2007-05-05-UnrollMiscomp.ll
2007-05-09-UnknownTripCount.ll
2007-11-05-Crash.ll
2011-08-08-PhiUpdate.ll Test case update for unroll-scev. 2011-09-02 21:21:03 +00:00
2011-08-09-IVSimplify.ll Rename -disable-iv-rewrite to -enable-iv-rewrite=false in preparation for default change. 2011-09-12 18:28:44 +00:00
2011-08-09-PhiUpdate.ll Fix the LoopUnroller to handle nontrivial loops and partial unrolling. 2011-08-10 00:28:10 +00:00
2011-10-01-NoopTrunc.ll Unit test for r140919, loop unroll heuristics. 2011-10-04 00:07:02 +00:00
basic.ll
dg.exp
pr10813.ll ConstantVector returns arbitrary value for the wrong index. 2011-09-02 15:43:43 +00:00
pr11361.ll Don't try to loop on iterators that are potentially invalidated inside the loop. Fixes PR11361! 2011-11-12 03:09:12 +00:00
runtime-loop1.ll Add -unroll-runtime for unrolling loops with run-time trip counts. 2011-12-09 06:19:40 +00:00
runtime-loop2.ll Add -unroll-runtime for unrolling loops with run-time trip counts. 2011-12-09 06:19:40 +00:00
runtime-loop3.ll Add -unroll-runtime for unrolling loops with run-time trip counts. 2011-12-09 06:19:40 +00:00
runtime-loop.ll Add -unroll-runtime for unrolling loops with run-time trip counts. 2011-12-09 06:19:40 +00:00
scevunroll.ll Reapply r139759. Disable IV rewriting by default. See PR10916. 2011-09-15 20:58:37 +00:00
shifted-tripcount.ll
unloop.ll Fix a corner case in updating LoopInfo after fully unrolling an outer loop. 2011-11-18 03:42:41 +00:00