summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-05-31 23:34:46 +0000
committerAndrew Trick <atrick@apple.com>2013-05-31 23:34:46 +0000
commitee9143acf503e487f62423594ce52525e28ced9f (patch)
treee3c244eb733512f5eac87b52bbcc432fa24879f7 /llvm/lib/Target
parente1e57e5ebda1fb518436d1c14b557fed6681749e (diff)
downloadbcm5719-llvm-ee9143acf503e487f62423594ce52525e28ced9f.tar.gz
bcm5719-llvm-ee9143acf503e487f62423594ce52525e28ced9f.zip
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. llvm-svn: 183060
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud