[llvm] [NewGVN] Prevent cyclic dependencies by ensuring Leader has min RPO number (PR #82110)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 5 03:36:12 PST 2024


================
@@ -374,9 +381,10 @@ class CongruenceClass {
     if (this == Other)
       return true;
 
-    if (std::tie(StoreCount, RepLeader, RepStoredValue, RepMemoryAccess) !=
-        std::tie(Other->StoreCount, Other->RepLeader, Other->RepStoredValue,
-                 Other->RepMemoryAccess))
+    if (std::tie(StoreCount, RepLeader.first, RepStoredValue,
----------------
ManuelJBrito wrote:

Done

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


More information about the llvm-commits mailing list