llvm/test/Transforms/LoopUnroll
Hal Finkel 8c65549318 getSmallConstantTripMultiple should never return zero.
When the trip count is -1, getSmallConstantTripMultiple could return zero,
and this would cause runtime loop unrolling to assert. Instead of returning
zero, one is now returned (consistent with the existing overflow cases).
Fixes PR14167.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166612 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-24 19:46:44 +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 Remove redundant -enable-iv-rewrite=false flags from test cases. 2012-03-22 17:09:04 +00:00
2011-08-09-PhiUpdate.ll
2011-10-01-NoopTrunc.ll Unit test for r140919, loop unroll heuristics. 2011-10-04 00:07:02 +00:00
2012-04-09-unroll-indirectbr.ll Fix 12513: Loop unrolling breaks with indirect branches. 2012-04-10 05:14:42 +00:00
basic.ll
lit.local.cfg Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed. 2012-02-16 06:28:33 +00:00
partial-unroll-optsize.ll Add testcase for r154007, when a function has the optsize attribute, 2012-04-04 13:24:40 +00:00
pr10813.ll ConstantVector returns arbitrary value for the wrong index. 2011-09-02 15:43:43 +00:00
pr11361.ll Fix tests that didn't test anything. 2012-09-26 09:51:39 +00:00
pr14167.ll getSmallConstantTripMultiple should never return zero. 2012-10-24 19:46:44 +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