summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-06-04 19:58:28 +0000
committerBill Wendling <isanbard@gmail.com>2013-06-04 19:58:28 +0000
commit97f870366b7bef70e3d24a1a034032e6c4a9d79f (patch)
treec6079e92bc2ceec744164476b4da8f7ac5bd771e
parent4e7df86628f2135f114b8fca6821e8535b23ded1 (diff)
downloadllvm-97f870366b7bef70e3d24a1a034032e6c4a9d79f.tar.gz
llvm-97f870366b7bef70e3d24a1a034032e6c4a9d79f.tar.bz2
llvm-97f870366b7bef70e3d24a1a034032e6c4a9d79f.tar.xz
Merging r183060:
------------------------------------------------------------------------ r183060 | atrick | 2013-05-31 16:34:46 -0700 (Fri, 31 May 2013) | 11 lines 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/branches/release_33@183246 91177308-0d34-0410-b5e6-96231b3b80d8
0 files changed, 0 insertions, 0 deletions