summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2014-05-23 19:47:13 +0000
committerAndrew Trick <atrick@apple.com>2014-05-23 19:47:13 +0000
commit839e30b2c07347b1538587693e7ed014c345b74b (patch)
tree9f30af90b707492ad5506d48b6b777ebcd973a4e /clang/lib
parentfe2413692f5f1247053ab1ec9cac0be48feb3572 (diff)
downloadbcm5719-llvm-839e30b2c07347b1538587693e7ed014c345b74b.tar.gz
bcm5719-llvm-839e30b2c07347b1538587693e7ed014c345b74b.zip
Fix and improve SCEV ComputeBackedgeTankCount.
This is a follow-up to r209358: PR19799: Indvars miscompile due to an incorrect max backedge taken count from SCEV. That fix was incomplete as pointed out by Arnold and Michael Z. The code was also too confusing. It needed a careful rewrite with more unit tests. This version will also happen to optimize more cases. <rdar://17005101> PR19799: Indvars miscompile... llvm-svn: 209545
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud