llvm-project/llvm/test/Transforms/LoopFlatten
Rosie Sumpter f117ed542f [LoopFlatten] Fix missed LoopFlatten opportunity
When the limit of the inner loop is a known integer, the InstCombine
pass now causes the transformation e.g. imcp ult i32 %inc, tripcount ->
icmp ult %j, tripcount-step (where %j is the inner loop induction
variable and %inc is add %j, step), which is now accounted for when
identifying the trip count of the loop. This is also an acceptable use
of %j (provided the step is 1) so is ignored as long as the compare
that it's used in is also the condition of the inner branch.

Differential Revision: https://reviews.llvm.org/D105802
2021-08-02 11:09:54 +01:00
..
limit-not-invariant.ll
loop-flatten-negative.ll [LoopFlatten] Fix missed LoopFlatten opportunity 2021-08-02 11:09:54 +01:00
loop-flatten-simplify-cfg.ll [LoopFlatten] Simplify loops so that the pass can operate on unsimplified loops. 2021-05-12 19:22:01 +01:00
loop-flatten.ll [LoopFlatten] Fix missed LoopFlatten opportunity 2021-08-02 11:09:54 +01:00
pr40581.ll
pr49571.ll [NFC] Improve debug message and test description in 4c1f74a 2021-03-24 18:21:13 +08:00
widen-iv.ll [test] Fix widen-iv.ll under NPM 2020-12-07 19:34:31 -08:00