[all-commits] [llvm/llvm-project] 838dcd: [OpenMP] libomp: minor changes to improve library ...

Andrey Churbanov via All-commits all-commits at lists.llvm.org
Thu Feb 11 13:44:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 838dcdb5fc428fd4b1830a1a23bb38c1fb1c8e5a
      https://github.com/llvm/llvm-project/commit/838dcdb5fc428fd4b1830a1a23bb38c1fb1c8e5a
  Author: AndreyChurbanov <andrey.churbanov at intel.com>
  Date:   2021-02-12 (Fri, 12 Feb 2021)

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

  Log Message:
  -----------
  [OpenMP] libomp: minor changes to improve library performance

Three minor changes in this patch:
- added UNLIKELY hint to few rarely executed branches;
- replaced couple of run time checks with debug assertions;
- moved check of presence of ittnotify tool from inside the function call.

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




More information about the All-commits mailing list