aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorYevgeny Rouban <yrouban@azul.com>2020-05-13 12:14:06 +0700
committerYevgeny Rouban <yrouban@azul.com>2020-05-13 13:55:36 +0700
commiteef95f2746c3347b8dad19091ffb82a88d73acd3 (patch)
tree1cfe80ba7891ad6a274298d6c5753d934da4e324 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parentad60ff70eb56a7d198e613152f9974d5d4baabd4 (diff)
downloadllvm-eef95f2746c3347b8dad19091ffb82a88d73acd3.zip
llvm-eef95f2746c3347b8dad19091ffb82a88d73acd3.tar.gz
llvm-eef95f2746c3347b8dad19091ffb82a88d73acd3.tar.bz2
[BrachProbablityInfo] Set edge probabilities at once. NFC.
Hide the method that allows setting probability for particular edge and introduce a public method that sets probabilities for all outgoing edges at once. Setting individual edge probability is error prone. More over it is difficult to check that the total probability is 1.0 because there is no easy way to know when the user finished setting all the probabilities. Reviewers: yamauchi, ebrevnov Tags: #llvm Differential Revision: https://reviews.llvm.org/D79396
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions