aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-06-01 01:37:44 +0000
committerAndrew Trick <atrick@apple.com>2013-06-01 01:37:44 +0000
commit6f2ae41d21fd4ad6e2378630265771abed08323d (patch)
tree2e2ca9790be09d8b44b91bb0918b46400b420ff1 /lib/Transforms/Vectorize/LoopVectorize.cpp
parent7ce804a62555d5bcd9c31485deba9c742c2aa3bf (diff)
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
Diffstat (limited to 'lib/Transforms/Vectorize/LoopVectorize.cpp')
0 files changed, 0 insertions, 0 deletions