[llvm] [SLP] Create SLP trees starting from constant stride stores (PR #175126)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 19 06:02:47 PST 2026


================
@@ -7135,7 +7141,9 @@ bool BoUpSLP::analyzeConstantStrideCandidate(
     NewScalarTy = Type::getIntNTy(
         SE->getContext(),
         DL->getTypeSizeInBits(ScalarTy).getFixedValue() * GroupSize);
-  }
+  } else if (StrideWithinGroup == 1)
+    // This is just a vectorized memory operation
+    return false;
----------------
alexey-bataev wrote:

Why do you need this?

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


More information about the llvm-commits mailing list