[llvm] [LAA] Always use DepCands when grouping runtime checks. (PR #91196)
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 04:29:43 PDT 2024
================
@@ -233,6 +233,18 @@ class EquivalenceClasses {
return findLeader(TheMapping.find(V));
}
+ /// Erase the class containing \p V.
+ void eraseClass(const ElemTy &V) {
+ if (TheMapping.find(V) == TheMapping.end())
+ return;
+ auto LeaderI = findValue(getLeaderValue(V));
----------------
Meinersbur wrote:
```suggestion
if (TheMapping.find(V) == TheMapping.end())
return;
iterator LeaderI = findValue(getLeaderValue(V));
```
https://github.com/llvm/llvm-project/pull/91196
More information about the llvm-commits
mailing list