[llvm] [SelectionDAG] Split sd_use_iterator into sd_user_iterator and sd_use_iterator. (PR #120531)
Sergey Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 19 04:02:34 PST 2024
================
@@ -837,29 +835,72 @@ END_TWO_BYTE_PACK()
}
};
+ class user_iterator {
+ friend class SDNode;
+ use_iterator UI;
----------------
s-barannikov wrote:
That's not OOP. Rather, they should both derive from one of the classes from `ADT/iterator.h`. Not sure about compile time impact though.
https://github.com/llvm/llvm-project/pull/120531
More information about the llvm-commits
mailing list