[all-commits] [llvm/llvm-project] 07239c: [BrachProbablityInfo] Proportional distribution of...
Yevgeny Rouban via All-commits
all-commits at lists.llvm.org
Mon Jun 1 22:22:12 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 07239c736a5b664942551b82ffa660f2a3f14f41
https://github.com/llvm/llvm-project/commit/07239c736a5b664942551b82ffa660f2a3f14f41
Author: Yevgeny Rouban <yrouban at azul.com>
Date: 2020-06-02 (Tue, 02 Jun 2020)
Changed paths:
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
M llvm/test/Analysis/BranchProbabilityInfo/basic.ll
Log Message:
-----------
[BrachProbablityInfo] Proportional distribution of reachable probabilities
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.
Reviewers: yamauchi, ebrevnov
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80611
More information about the All-commits
mailing list