[llvm] [LAA] Always use DepCands when grouping runtime checks. (PR #91196)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 7 06:20:37 PDT 2024
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 fff2db2e426ebe3a349bd0f00555d4a3dc8a6de7 8e848c7e066fab0f1004705a2076017d6250b7a4 -- llvm/include/llvm/ADT/EquivalenceClasses.h llvm/include/llvm/Analysis/LoopAccessAnalysis.h llvm/lib/Analysis/LoopAccessAnalysis.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/ADT/EquivalenceClasses.h b/llvm/include/llvm/ADT/EquivalenceClasses.h
index 3561f29527..ef54c068d2 100644
--- a/llvm/include/llvm/ADT/EquivalenceClasses.h
+++ b/llvm/include/llvm/ADT/EquivalenceClasses.h
@@ -238,8 +238,7 @@ public:
if (TheMapping.find(V) == TheMapping.end())
return;
auto LeaderI = findValue(getLeaderValue(V));
- for (auto MI = member_begin(LeaderI), ME = member_end();
- MI != ME; ) {
+ for (auto MI = member_begin(LeaderI), ME = member_end(); MI != ME;) {
const auto &ToErase = *MI;
++MI;
TheMapping.erase(ToErase);
``````````
</details>
https://github.com/llvm/llvm-project/pull/91196
More information about the llvm-commits
mailing list