llvm/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 Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2005-03-06-BadLoopInfoUpdate.ll Rename 'loopsimplify' to 'loop-simplify'. 2011-02-10 23:38:10 +00:00
2006-08-24-MultiBlockLoop.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2007-04-16-PhiUpdate.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2007-05-05-UnrollMiscomp.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2007-05-09-UnknownTripCount.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2007-11-05-Crash.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
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 add a testcase for r125827 2011-02-18 05:05:01 +00:00
dg.exp sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
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 Teach getSmallConstantTripMultiple about Shl operators. 2009-11-20 01:09:34 +00:00
unloop.ll Fix a corner case in updating LoopInfo after fully unrolling an outer loop. 2011-11-18 03:42:41 +00:00