llvm-project/llvm/test/Transforms/LoopFlatten
Stelios Ioannou 1124ad2f5d [LoopFlatten] Simplify loops so that the pass can operate on unsimplified loops.
The loop flattening pass requires loops to be in simplified form. If the
loops are not in simplified form, the pass cannot operate. This patch
simplifies all loops before flattening. As a result, all loops will be
simplified regardless of whether anything ends up being flattened.

This change was inspired by observing a certain loop that was not flatten
because the loops were not in simplified form. This loop is added as a
test to verify that it is now flattened.

Differential Revision: https://reviews.llvm.org/D102249

Change-Id: I45bcabe70fb99b0d89f0effafc82eb9e0585ec30
2021-05-12 19:22:01 +01:00
..
limit-not-invariant.ll
loop-flatten-negative.ll [LoopFlatten] Widen the IV 2020-11-16 10:20:13 +00: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
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