[llvm] [Passes] Remove LoopInterchange from O1 pipeline (PR #145071)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 20 12:10:43 PDT 2025


nikic wrote:

> Looks reasonable to me. To begin with, I'm not sure why this is in the "simplification" pipeline. If it is for vectorization, I think it should be in the same place as `LoopDistribute`.

Good question. Do we expect that loop interchange helps other simplifications in some way? If not, it's probably better to make it part of the optimization pipeline. IIRC there was a patch that added versioning support to DA, and in that case we'd definitely don't want it in the simplification pipeline.

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


More information about the llvm-commits mailing list