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

Ryan Buchner via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 12:07:11 PDT 2026


================
@@ -7523,7 +7539,7 @@ BoUpSLP::LoadsState BoUpSLP::canVectorizeLoads(
   Align CommonAlignment = computeCommonAlignment<LoadInst>(VL);
   if (!IsSorted) {
     if (analyzeRtStrideCandidate(PointerOps, ScalarTy, CommonAlignment, Order,
-                                 SPtrInfo))
+                                 SPtrInfo, /*isLoad*/ true))
----------------
bababuck wrote:

Should be fixed this time! Rebased as well.

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


More information about the llvm-commits mailing list