aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorYevgeny Rouban <yrouban@azul.com>2020-06-02 11:28:12 +0700
committerYevgeny Rouban <yrouban@azul.com>2020-06-02 12:06:52 +0700
commit07239c736a5b664942551b82ffa660f2a3f14f41 (patch)
treedf3ef4cbc351d94cad1e348b05c747f940ad0127 /clang/lib/Frontend/CompilerInvocation.cpp
parent4ccb6c36a9159809f4b98176325ae202753fe136 (diff)
downloadllvm-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