[all-commits] [llvm/llvm-project] 6bf848: [OpenMP] libomp: add UNLIKELY hints to rarely exec...

Andrey Churbanov via All-commits all-commits at lists.llvm.org
Tue Dec 1 05:53:57 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bf84871e9382fe7bde1117194bc15abb2b09f68
      https://github.com/llvm/llvm-project/commit/6bf84871e9382fe7bde1117194bc15abb2b09f68
  Author: AndreyChurbanov <andrey.churbanov at intel.com>
  Date:   2020-12-01 (Tue, 01 Dec 2020)

  Changed paths:
    M openmp/runtime/src/kmp_itt.inl
    M openmp/runtime/src/kmp_tasking.cpp

  Log Message:
  -----------
  [OpenMP] libomp: add UNLIKELY hints to rarely executed branches

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

Differential Revision: https://reviews.llvm.org/D92322




More information about the All-commits mailing list