[PATCH] D140337: Propagate branchweight through phi values when ExpectedValue is unlikely in LowerExpectIntrinsic
Zhi Zhuang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 21 13:06:16 PST 2022
LukeZhuang added a comment.
Hi David, thank you very much! Seems I do not have access to push to the repo, may I ask could you please me do it? Here is the commit info:
**Commit message title:**
[LowerExpectIntrinsic] Propagate branch weights through phi values when ExpectedValue is unlikely in LowerExpectIntrinsic
**Detailed info:**
Update handlePhiDef to consider the probability argument in an expect.with.probability intrinsic when annotating BranchInsts.
In addition, we also disallow non-constant probability arguments in this intrinsic.
Differential Revsion: https://reviews.llvm.org/D140337
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140337/new/
https://reviews.llvm.org/D140337
More information about the llvm-commits
mailing list