[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


================
@@ -6817,13 +6816,10 @@ isMaskedLoadCompress(ArrayRef<Value *> VL, ArrayRef<Value *> PointerOps,
 /// 4. Any pointer operand is an instruction with the users outside of the
 /// current graph (for masked gathers extra extractelement instructions
 /// might be required).
-bool BoUpSLP::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 {
-  const size_t Sz = VL.size();
+bool BoUpSLP::isStridedLoad(ArrayRef<Value *> PointerOps, Type *ScalarTy,
+                            Align Alignment, int64_t Diff, Value *Ptr0,
----------------
alexey-bataev wrote:

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

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


More information about the llvm-commits mailing list