[llvm] [VPlan] Extract reverse interleave pointer adjustment into VPReverseInterleavePtrRecipe (PR #144864)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 20 01:52:35 PDT 2025


Mel-Chen wrote:

> Is it possible to somehow reuse `VPVectorEndPointerRecipe` and add a Factor field on it? The two recipes look quite similar
 
https://github.com/Mel-Chen/llvm-project/commit/9e1df0f62499d18b47fe46762cb4a81c9654b94e
Of course, that's possible — we could add a member Stride to VPVectorEndPointerRecipe, similar to what I did in https://github.com/llvm/llvm-project/pull/128718  for VPVectorPointerRecipe. However, I'm not yet sure which direction is better, so I quickly created a new recipe to spark discussion.


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


More information about the llvm-commits mailing list