[llvm] [LV] Convert gather loads with constant stride into strided loads (PR #147297)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 20 08:01:12 PDT 2026


Mel-Chen wrote:

> Maybe there's other ways around this. I don't have a strong opinion on this but 2) seems slightly nicer since we wouldn't need to plumb interleave groups through to `convertToStridedAccesses`

@lukel97 Thanks for the bug report. I think we can resolve this issue by generating the interleaved access recipes before the strided access recipes. Let's start by adding a test case for this issue: https://github.com/llvm/llvm-project/pull/192990


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


More information about the llvm-commits mailing list