[PATCH] D158668: Add getLikelyBranchWeight helper function

Matthias Braun via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 23 15:19:38 PDT 2023


MatzeB added a comment.

> My initial reaction to this was that we should keep the --unlikely-branch-weights flag available

I don't feel strongly about it and can put it back. But can you give some reasoning? I only see this flag having a real use to express small ratios like 3:2 which doesn't really seem helpful to express "likely"/"unlikely"...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158668/new/

https://reviews.llvm.org/D158668



More information about the cfe-commits mailing list