[PATCH] D61540: [PGO] Use sum of count values to fix func entry count and add a check to verify BFI counts

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 18 17:42:26 PST 2020


xur updated this revision to Diff 306271.
xur marked 4 inline comments as done.
xur added a comment.

Updated the patch that addressed David's review comments. 
One noticeable change was to .add a new option "pgo-vefify-hot-bfi" which will
output a message when one of the following happens:
(1) a hot rawCount becomes non-hot in BFI
(2) a cold rawCount becomes hot in BFI

-Rong


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61540/new/

https://reviews.llvm.org/D61540

Files:
  llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  llvm/test/Transforms/PGOProfile/Inputs/fix_bfi.proftext
  llvm/test/Transforms/PGOProfile/fix_bfi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61540.306271.patch
Type: text/x-patch
Size: 13770 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201119/48c6c35f/attachment.bin>


More information about the llvm-commits mailing list