[llvm] [LV] Add support for widening loads/stores to a VF multiple (PR #217670)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 04:33:19 PDT 2026


paulwalker-arm wrote:

Fair points, most of which I don't agree with :) but if others are happy then fine by me. As long as we're going into this with all available information.

> We could try to recognize this after LV, but the pattern becomes more complex (matching and rewriting N-phis + extracts etc).

There should never be multiple predicate phis when tail folding because for correctness reasons we canonicalised to a single big predicate to cover the whole loop. Multiple extracts yes, multiple phis no.

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


More information about the llvm-commits mailing list