[PATCH] D158642: LoopUnrollRuntime: Add weights to all branches

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 23 11:23:59 PDT 2023


MatzeB added a comment.

Maybe we should expose the "LikelyBranchWeight" of `LowerExpectIntrinsic.cpp` in an internal LLVM header? So frontends are still forced to use the llvm.expect abstractions while LLVM-internal code can do the quicker thing and add likely branch weights directly...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158642



More information about the llvm-commits mailing list