[llvm] [DominanceFrontier] make iterating dereferenced DominanceFrontierBase::find deterministic (PR #69711)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 24 08:38:45 PDT 2023
================
@@ -39,7 +39,7 @@ class raw_ostream;
template <class BlockT, bool IsPostDom>
class DominanceFrontierBase {
public:
- using DomSetType = std::set<BlockT *>; // Dom set for a bb
+ using DomSetType = SetVector<BlockT *>; // Dom set for a bb
----------------
kuhar wrote:
Can you add a comment explaining the choice of `SetVector`?
https://github.com/llvm/llvm-project/pull/69711
More information about the llvm-commits
mailing list