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

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 05:18:24 PDT 2026


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions h,cpp -- llvm/include/llvm/Analysis/LoopAccessAnalysis.h llvm/lib/Analysis/LoopAccessAnalysis.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Analysis/LoopAccessAnalysis.cpp b/llvm/lib/Analysis/LoopAccessAnalysis.cpp
index d0c2eb6c8..f14564cd2 100644
--- a/llvm/lib/Analysis/LoopAccessAnalysis.cpp
+++ b/llvm/lib/Analysis/LoopAccessAnalysis.cpp
@@ -981,8 +981,8 @@ void RuntimePointerChecking::mergeStencilGroups(PredicatedScalarEvolution &PSE,
           const SCEV *RangeDiff = SE->getMinusSCEV(Range, BaseRange);
           return isa<SCEVCouldNotCompute>(RangeDiff) || !RangeDiff->isZero();
         })) {
-      LLVM_DEBUG(dbgs()
-                 << "LAA:   Member with different or not computable access "
+      LLVM_DEBUG(
+          dbgs() << "LAA:   Member with different or not computable access "
                     "range, skipping DepSet\n");
       continue;
     }

``````````

</details>


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


More information about the llvm-commits mailing list