[llvm] [InterleavedAccess] Transform illegal deinterleave/extract intrinsics (PR #189019)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 1 05:21:25 PDT 2026


paulwalker-arm wrote:

I agree with @davemgreen, this isn't something the InterleavedAccess pass should worry about.  Although I am biased given I'd like to delete InterleavedAccess :) As to whether they are worth fixing really comes down to their use.  I'd hope the cost model returns an invalid cost for the unsupported variants, preventing the vectoriser(s) from emitting them.

Of course it's preferable for the code generator to handle all possible IR, it just depends on how important these use cases are to you. If you do want to support them then I'd start with fixing it during code generation.  We can then follow up with other work to improve the code quality based on your observations if need be.

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


More information about the llvm-commits mailing list