[llvm] [LoopInterchange] Support inner-loop simple reductions via UndoSimpleReduction (PR #172970)

Ryotaro Kasuga via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 22 01:36:37 PST 2025


================

----------------
kasuga-fj wrote:

Could you please add more negative tests where UndoSimpleReduction isn't performed for some reason? E.g.,

- There are two or more reductions
- A reduction for non-innermost loop
- The initial value of the reduction is not a constant
- The reduction is used more than twice in the outer loop.

https://github.com/llvm/llvm-project/pull/172970


More information about the llvm-commits mailing list