[PATCH] D79396: [BrachProbablityInfo] Set edge probabilities at once.
Yevgeny Rouban via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 14 23:22:36 PDT 2020
yrouban updated this revision to Diff 264160.
yrouban retitled this revision from "[BrachProbablityInfo] Set edge probabilities at once. NFC." to "[BrachProbablityInfo] Set edge probabilities at once.".
yrouban edited the summary of this revision.
yrouban added a comment.
Fixed bug in BranchProbabilityInfo::calcMetadataWeights() to keep total probability close to 1.0. Added a new testcase for this and fixed another one.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79396/new/
https://reviews.llvm.org/D79396
Files:
llvm/include/llvm/Analysis/BranchProbabilityInfo.h
llvm/lib/Analysis/BranchProbabilityInfo.cpp
llvm/lib/Transforms/Scalar/JumpThreading.cpp
llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
llvm/lib/Transforms/Utils/CodeExtractor.cpp
llvm/test/Analysis/BranchProbabilityInfo/basic.ll
llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79396.264160.patch
Type: text/x-patch
Size: 17583 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200515/dc5a2bfb/attachment-0001.bin>
More information about the llvm-commits
mailing list