llvm-project/llvm/test/Transforms/LoopFlatten
Sjoerd Meijer 367df18050 [LoopFlatten] Bail if we can't perform flattening after IV widening
It can happen that after widening of the IV, flattening may not be possible,
e.g. when it is deemed unprofitable. We were not properly checking this, which
resulted in flattening being applied when it shouldn't, also leading to
incorrect results (miscompilation).

This should fix PR51980 (https://bugs.llvm.org/show_bug.cgi?id=51980)

Differential Revision: https://reviews.llvm.org/D110712
2021-09-29 19:53:34 +01:00
..
limit-not-invariant.ll
loop-flatten-negative.ll [LoopFlatten] Fix assertion failure 2021-08-19 13:18:57 +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 [LoopFlatten] Make the analysis more robust after IV widening 2021-09-10 12:34:04 +01:00
widen-iv2.ll [LoopFlatten] Updating Phi nodes after IV widening 2021-09-28 15:09:20 +01:00
widen-iv3.ll [LoopFlatten] Bail if we can't perform flattening after IV widening 2021-09-29 19:53:34 +01:00