[all-commits] [llvm/llvm-project] c3b500: [OpenMP] Use RTM lock for OMP lock with synchroniz...

Hansang Bae via All-commits all-commits at lists.llvm.org
Wed Dec 9 17:20:39 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c3b5009aa7f42ab8376b39d96e762e2d2e98ab5e
      https://github.com/llvm/llvm-project/commit/c3b5009aa7f42ab8376b39d96e762e2d2e98ab5e
  Author: Hansang Bae <hansang.bae at intel.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M openmp/runtime/src/kmp_csupport.cpp
    M openmp/runtime/src/kmp_lock.cpp
    M openmp/runtime/src/kmp_lock.h
    M openmp/runtime/src/kmp_runtime.cpp
    M openmp/runtime/src/kmp_settings.cpp

  Log Message:
  -----------
  [OpenMP] Use RTM lock for OMP lock with synchronization hint

This patch introduces a new RTM lock type based on spin lock which is
used for OMP lock with speculative hint on supported architecture.

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




More information about the All-commits mailing list