summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorFlorian Hahn <florian.hahn@arm.com>2018-09-14 07:50:20 +0000
committerFlorian Hahn <florian.hahn@arm.com>2018-09-14 07:50:20 +0000
commit3afb974aa5e8c30eb10679afbaa6db1922b0599c (patch)
tree59040c4b0ba446738347419863a2e7f30fc8283d /llvm/lib/Target/ARM
parent2fa5c2833910071684403ef60ac0b82180e197bc (diff)
downloadbcm5719-llvm-3afb974aa5e8c30eb10679afbaa6db1922b0599c.tar.gz
bcm5719-llvm-3afb974aa5e8c30eb10679afbaa6db1922b0599c.zip
[LoopInterchange] Preserve ScalarEvolution, by forgetting about interchanged loops.
As preparation for LoopInterchange becoming a loop pass, it needs to preserve ScalarEvolution. Even though interchanging should not change the trip count of the loop, it modifies loop entry, latch and exit blocks. I added -verify-scev to some loop interchange tests, but the verification does not catch problems caused by missing invalidation of SE in loop interchange, as the trip counts themselves do not change. So there might be potential to make the SE verification covering more stuff in the future. Reviewers: mkazantsev, efriedma, karthikthecool Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D52026 llvm-svn: 342209
Diffstat (limited to 'llvm/lib/Target/ARM')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud