[Openmp-commits] [PATCH] D92322: [OpenMP] libomp: add UNLIKELY hints to rarely executed branches

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Nov 30 06:55:35 PST 2020


AndreyChurbanov created this revision.
AndreyChurbanov added reviewers: jlpeyton, hbae, tlwilmar, Nawrin.
AndreyChurbanov added a project: OpenMP.
Herald added subscribers: openmp-commits, guansong, yaxunl.
AndreyChurbanov requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

Added UNLIKELY hint to one-time or rarely executed branches.
This improves performance of the library on some tasking benchmarks.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92322

Files:
  openmp/runtime/src/kmp_itt.inl
  openmp/runtime/src/kmp_tasking.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92322.308361.patch
Type: text/x-patch
Size: 6540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20201130/1e233b49/attachment-0001.bin>


More information about the Openmp-commits mailing list