[PATCH] D82123: [PGO] Add a functionality to always instrument the func entry BB

Rong Xu via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 18 20:56:19 PDT 2020


On Thu, Jun 18, 2020 at 3:22 PM Wei Mi via Phabricator <
reviews at reviews.llvm.org> wrote:

> wmi added a comment.
>
> Thanks for the patch! I guess atomic update is to reduce the cost of the
> entry counter for application with many threads. How much difference there
> is w/wo enabling -atomic-first-counter?
>
I don't remember the exact data. But it significantly slows down the
program I used.
I can redo the test.



>
> CHANGES SINCE LAST ACTION
>   https://reviews.llvm.org/D82123/new/
>
> https://reviews.llvm.org/D82123
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200618/1bbfc7d3/attachment.html>


More information about the llvm-commits mailing list