[llvm] [VectorUtils] Use temporary PSE in collectConstStrideAccesses. (PR #199793)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 13:02:06 PDT 2026


================
@@ -1646,7 +1648,7 @@ void InterleavedAccessInfo::analyzeInterleaving(
     assert(Member && "Group member does not exist");
     Value *MemberPtr = getLoadStorePointerOperand(Member);
     Type *AccessTy = getLoadStoreType(Member);
-    if (getPtrStride(PSE, AccessTy, MemberPtr, TheLoop, *DT, Strides,
+    if (getPtrStride(TmpPSE, AccessTy, MemberPtr, TheLoop, *DT, Strides,
                      /*Assume=*/false, /*ShouldCheckWrap=*/true)
----------------
fhahn wrote:

Sure if that's the preferred direction that's good with me. Updated https://github.com/llvm/llvm-project/pull/200807 and marked as ready

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


More information about the llvm-commits mailing list