[llvm] [LAA] Add stencil group merging to reduce runtime pointer checks (PR #187252)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 05:24:50 PDT 2026


================
@@ -1079,8 +1107,10 @@ collectCandidateMembers(ArrayRef<StencilDecomposition> Offsets, bool ForMin) {
 static std::pair<unsigned, unsigned> computeStencilMergeCost(
     const RuntimePointerChecking &RtCheck, ArrayRef<unsigned> GroupIndices,
     const SmallDenseSet<unsigned, 4> &MergedGroupIndices,
-    ArrayRef<const SCEV *> LocalStridesNeedingPreds,
-    const SmallDenseSet<const SCEV *, 4> &CommittedStridePredicates,
+    ArrayRef<const SCEV *> LocalStrideLowerLimits,
+    const SmallMapVector<const SCEV *, APInt, 4> &LocalStrideUpperLimits,
----------------
david-arm wrote:

Why is this not passed as an ArrayRef the same as `LocalStrideLowerLimits`? It looks like it doesn't need modifying.

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


More information about the llvm-commits mailing list