[llvm] [LV] Support strided memory accesses with a stride of -1 (PR #128718)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 12 06:42:42 PDT 2025
================
@@ -2642,16 +2652,16 @@ class VPWidenMemoryRecipe : public VPRecipeBase {
/// optional mask.
struct VPWidenLoadRecipe final : public VPWidenMemoryRecipe, public VPValue {
VPWidenLoadRecipe(LoadInst &Load, VPValue *Addr, VPValue *Mask,
- bool Consecutive, bool Reverse, DebugLoc DL)
+ bool Consecutive, bool Reverse, bool Strided, DebugLoc DL)
: VPWidenMemoryRecipe(VPDef::VPWidenLoadSC, Load, {Addr}, Consecutive,
- Reverse, DL),
+ Reverse, Strided, DL),
----------------
Mel-Chen wrote:
Thanks for your reminder! Fixed it.
f77cc7e42c10211e2e279f3250c7eb19ae64d411
https://github.com/llvm/llvm-project/pull/128718
More information about the llvm-commits
mailing list