[llvm] [SCEV] Infer loop max trip count from memory accesses (PR #70361)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 26 11:19:36 PDT 2023
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 645b7795d49774ea055fc4e803bf99f742d2739a d155bbd1f4ce7ca2cb4cb7e47d1aca71ad0a03e9 -- llvm/include/llvm/Analysis/ScalarEvolution.h llvm/lib/Analysis/ScalarEvolution.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index 10b33304b424..d81c29ce5d27 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -8208,7 +8208,7 @@ ScalarEvolution::getSmallConstantTripMultiple(const Loop *L,
/// of loop \p L .
static void
collectExecLoadStoreInsideLoop(const Loop *L, DominatorTree &DT,
- SmallVector<Instruction *, 4> &MemInsts) {
+ SmallVector<Instruction *, 4> &MemInsts) {
// It is difficult to tell if the load/store instruction is executed on every
// iteration inside an irregular loop.
if (!L->isLoopSimplifyForm() || !L->isInnermost())
``````````
</details>
https://github.com/llvm/llvm-project/pull/70361
More information about the llvm-commits
mailing list