[llvm] [LV] Add tests for uniform inner loops in outer-loop path (NFC) (PR #227415)

Julian Nagele via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 04:07:33 PDT 2026


juliannagele wrote:

Thanks! In the meantime #199632 landed and replaces `isUniformLoop` / `isUniformLoopNest` with a check on each conditional branch. That check accepts every inner loop this PR accepted, so I dropped the
`LoopVectorizationLegality.cpp` change and rebased on top of it.

I think the tests are still worth keeping though . They document a few more cases that are now accepted.

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


More information about the llvm-commits mailing list