[llvm] [Support] Use block numbers for DomTree construction (PR #101706)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 6 07:26:02 PDT 2024
================
@@ -60,6 +60,10 @@ struct SemiNCAInfo {
static constexpr bool IsPostDom = DomTreeT::IsPostDominator;
using GraphDiffT = GraphDiff<NodePtr, IsPostDom>;
+ template <typename T>
+ using has_number_t =
+ decltype(GraphTraits<T *>::getNumber(std::declval<T *>()));
----------------
kuhar wrote:
That would also make sense to me.
https://github.com/llvm/llvm-project/pull/101706
More information about the llvm-commits
mailing list