mtrofin wrote: > This looks good to me. Thanks for improve the code. One small suggestion: there are many calls to allEdges().size(). How about adding one utility function, for example numEdges(), just like bbInfoSize(). Good point - done. https://github.com/llvm/llvm-project/pull/72207