https://github.com/jayfoad commented: Seems very nice overall but I don't feel qualified to review the changes to BranchProbabilityInfo itself so I will defer to other reviewers. https://github.com/llvm/llvm-project/pull/210301