[PATCH] D158668: Add getLikelyBranchWeight helper function
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 23 13:48:29 PDT 2023
MatzeB added a comment.
Putting this out as a strawman/RFC. Should we add this function to allow LLVM passes to construct "likely"/"unlikely" branch_weights metadata? (I need this in D158642 <https://reviews.llvm.org/D158642> and D157462 <https://reviews.llvm.org/D157462>)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158668/new/
https://reviews.llvm.org/D158668
More information about the llvm-commits
mailing list