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

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 31 12:57:57 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))
----------------
alexey-bataev wrote:

```suggestion
                                 SPtrInfo, /*isLoad=*/true))
```

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


More information about the llvm-commits mailing list