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

Yingying Wang via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 6 02:15:38 PST 2026


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

----------------
buggfg wrote:

> If that's the case, probably it would be better to check if we can move the definition of memory reference into the loop header, rather than only checking dominance.

Yes, that’s a better approach and my next step. Do you think I should implement it in this PR?



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


More information about the llvm-commits mailing list