[llvm] [NewGVN] Prevent cyclic dependencies by ensuring Leader has min RPO number (PR #82110)
Alina Sbirlea via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 07:45:16 PST 2024
================
@@ -297,7 +297,8 @@ class CongruenceClass {
using MemoryMemberSet = SmallPtrSet<const MemoryMemberType *, 2>;
explicit CongruenceClass(unsigned ID) : ID(ID) {}
- CongruenceClass(unsigned ID, Value *Leader, const Expression *E)
+ CongruenceClass(unsigned ID, std::pair<Value *, unsigned int> Leader,
----------------
alinas wrote:
Add a comment describing what the items in the pair represent, specifically what is the int?
https://github.com/llvm/llvm-project/pull/82110
More information about the llvm-commits
mailing list