[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
================
@@ -0,0 +1,86 @@
+; NOTE: Support simple reduction in the inner loop by undoing the simple reduction.
+; RUN: opt < %s -passes="loop(loop-interchange),dce" -undo-simple-reduction -loop-interchange-profitabilities=ignore -S | FileCheck %s
----------------
kasuga-fj wrote:
```suggestion
; RUN: opt < %s -passes="loop-interchange" -undo-simple-reduction -loop-interchange-profitabilities=ignore -S | FileCheck %s
```
https://github.com/llvm/llvm-project/pull/172970
More information about the llvm-commits
mailing list