llvm-6502/test/Transforms/LoopUnroll
Andrew Trick cd8e3c4dcf Prevent loop-unroll from making assumptions about undefined behavior.
Fixes rdar:14036816, PR16130.

There is an opportunity to compute precise trip counts for 'or'
expressions and multi-exit loops.
rdar:14038809: Optimize trip count computation for multi-exit loops.

To do this we need to record the fact that ExitLimit assumes NSW. When
it does not we can safely assume that the loop trip count is the
minimum ExitLimt across all subexpressions and loop exits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183060 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-31 23:34:46 +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 Add a new attribute, 'noduplicate'. If a function contains a noduplicate call, the call cannot be duplicated - Jump threading, loop unrolling, loop unswitching, and loop rotation are inhibited if they would duplicate the call. 2012-12-20 16:04:27 +00:00
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 Revert the test moves from 176733. Use "REQUIRES: asserts" instead. 2013-03-12 16:27:52 +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 Prevent loop-unroll from making assumptions about undefined behavior. 2013-05-31 23:34:46 +00:00
shifted-tripcount.ll
unloop.ll Prevent loop-unroll from making assumptions about undefined behavior. 2013-05-31 23:34:46 +00:00