[PATCH] D27862: [BPI] Use saturating multiplication to calculate denominators

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 16:04:27 PST 2016


vsk updated the summary for this revision.
vsk updated this revision to Diff 81811.
vsk marked an inline comment as done.
vsk added a comment.

- Use BranchProbability::getBranchProbability, per David's suggestion.
- Fix a typo in the unit test.


https://reviews.llvm.org/D27862

Files:
  lib/Analysis/BranchProbabilityInfo.cpp
  unittests/Analysis/BranchProbabilityInfoTest.cpp
  unittests/Analysis/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27862.81811.patch
Type: text/x-patch
Size: 5302 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161217/cfa330a0/attachment.bin>


More information about the llvm-commits mailing list