llvm-6502/test/Transforms/LoopUnroll
Andrew Trick 6f2ae41d21 Merge 183060: 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_33@183066 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-01 01:37: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
2011-08-09-PhiUpdate.ll
2011-10-01-NoopTrunc.ll
2012-04-09-unroll-indirectbr.ll
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
partial-unroll-optsize.ll
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 Revert the test moves from 176733. Use "REQUIRES: asserts" instead. 2013-03-12 16:27:52 +00:00
runtime-loop.ll
scevunroll.ll Merge 183060: Prevent loop-unroll from making assumptions about undefined behavior. 2013-06-01 01:37:44 +00:00
shifted-tripcount.ll
unloop.ll Merge 183060: Prevent loop-unroll from making assumptions about undefined behavior. 2013-06-01 01:37:44 +00:00