diff options
author | Yevgeny Rouban <yrouban@azul.com> | 2020-06-02 11:28:12 +0700 |
---|---|---|
committer | Yevgeny Rouban <yrouban@azul.com> | 2020-06-02 12:06:52 +0700 |
commit | 07239c736a5b664942551b82ffa660f2a3f14f41 (patch) | |
tree | df3ef4cbc351d94cad1e348b05c747f940ad0127 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4ccb6c36a9159809f4b98176325ae202753fe136 (diff) | |
download | llvm-07239c736a5b664942551b82ffa660f2a3f14f41.zip llvm-07239c736a5b664942551b82ffa660f2a3f14f41.tar.gz llvm-07239c736a5b664942551b82ffa660f2a3f14f41.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions