[PATCH] D80611: [BrachProbablityInfo] Proportional distribution of reachable probabilities
Yevgeny Rouban via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 26 22:18:28 PDT 2020
yrouban created this revision.
yrouban added reviewers: yamauchi, ebrevnov, skatkov, nikic.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
When fixing probability of unreachable edges in //BranchProbabilityInfo::calcMetadataWeights()// proportionally distribute remainder probability over the reachable edges. The old implementation distributes the remainder probability evenly. See examples in the fixed tests.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80611
Files:
llvm/lib/Analysis/BranchProbabilityInfo.cpp
llvm/test/Analysis/BranchProbabilityInfo/basic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80611.266420.patch
Type: text/x-patch
Size: 7797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200527/f1b2d503/attachment.bin>
More information about the llvm-commits
mailing list