llvm-project/llvm/test/Transforms/LoopInterchange
Florian Hahn 3afb974aa5 [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
2018-09-14 07:50:20 +00:00
..
call-instructions.ll [LoopInterchange] Require asserts for test using -stats (NFC) 2018-04-05 13:07:39 +00:00
currentLimitation.ll [LoopInterchange] Use getExitBlock()/getExitingBlock instead of manual impl. 2018-04-25 09:35:54 +00:00
debuginfo.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
interchange-flow-dep-outer.ll [LoopInterchange] Preserve LoopInfo after interchanging. 2018-04-05 09:48:45 +00:00
interchange-insts-between-indvar.ll [DA] Enable -da-delinearize by default 2018-06-21 11:53:16 +00:00
interchange-no-deps.ll [LoopInterchange] Add REQUIRES: asserts to test. 2018-04-24 18:10:52 +00:00
interchangeable.ll [LoopInterchange] Preserve ScalarEvolution, by forgetting about interchanged loops. 2018-09-14 07:50:20 +00:00
lcssa.ll [LoopInterchange] Allow some loops with PHI nodes in the exit block. 2018-04-27 13:52:51 +00:00
loop-interchange-optimization-remarks.ll [LoopInterchange] Preserve LoopInfo after interchanging. 2018-04-05 09:48:45 +00:00
not-interchanged-dependencies-1.ll [LoopInterchange] Preserve LoopInfo after interchanging. 2018-04-05 09:48:45 +00:00
not-interchanged-loop-nest-3.ll [LoopInterchange] Preserve LoopInfo after interchanging. 2018-04-05 09:48:45 +00:00
not-interchanged-tightly-nested.ll [LoopInterchange] Preserve LoopInfo after interchanging. 2018-04-05 09:48:45 +00:00
phi-ordering.ll [LoopInterchange] Preserve ScalarEvolution, by forgetting about interchanged loops. 2018-09-14 07:50:20 +00:00
profitability.ll NFC - Various typo fixes in tests 2018-07-04 13:28:39 +00:00
reductions.ll [LoopInterchange] Allow some loops with PHI nodes in the exit block. 2018-04-27 13:52:51 +00:00