llvm-6502/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
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
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
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
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
runtime-loop2.ll
runtime-loop3.ll
runtime-loop.ll
scevunroll.ll
shifted-tripcount.ll
unloop.ll