[llvm] [SLPVectorizer] Change arguments of 'isStridedLoad' (NFC) (PR #160401)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 11:15:33 PDT 2025


================
@@ -2234,10 +2234,9 @@ class BoUpSLP {
   /// TODO: If load combining is allowed in the IR optimizer, this analysis
   ///       may not be necessary.
   bool isLoadCombineCandidate(ArrayRef<Value *> Stores) const;
-  bool isStridedLoad(ArrayRef<Value *> VL, ArrayRef<Value *> PointerOps,
-                     ArrayRef<unsigned> Order, const TargetTransformInfo &TTI,
-                     const DataLayout &DL, ScalarEvolution &SE,
-                     const int64_t Diff, StridedPtrInfo &SPtrInfo) const;
+  bool isStridedLoad(ArrayRef<Value *> PointerOps, Type *ScalarTy,
+                     Align Alignment, int64_t Diff, Value *Ptr0, Value *PtrN,
----------------
alexey-bataev wrote:

```suggestion
                     Align Alignment, const int64_t Diff, Value *Ptr0, Value *PtrN,
```

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


More information about the llvm-commits mailing list