diff options
author | Andrew Trick <atrick@apple.com> | 2014-05-23 19:47:13 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2014-05-23 19:47:13 +0000 |
commit | 839e30b2c07347b1538587693e7ed014c345b74b (patch) | |
tree | 9f30af90b707492ad5506d48b6b777ebcd973a4e /clang/lib/CodeGen/CodeGenModule.h | |
parent | fe2413692f5f1247053ab1ec9cac0be48feb3572 (diff) | |
download | bcm5719-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/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions