[all-commits] [llvm/llvm-project] 35155a: [BOLT] Change mutex implementation

Elvina Yakubova via All-commits all-commits at lists.llvm.org
Tue Jul 5 22:24:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35155a0716784c54b9d0113bce3f12c62af91a70
      https://github.com/llvm/llvm-project/commit/35155a0716784c54b9d0113bce3f12c62af91a70
  Author: Elvina Yakubova <elvina.yakubova at huawei.com>
  Date:   2022-07-06 (Wed, 06 Jul 2022)

  Changed paths:
    M bolt/runtime/common.h

  Log Message:
  -----------
  [BOLT] Change mutex implementation

Changed acquire implemetaion to __atomic_test_and_set() and release
to __atomic_clear() so it eliminates inline asm usage and is arch
independent.

Elvina Yakubova,
Advanced Software Technology Lab, Huawei

Reviewers: yota9, maksfb, rafauler

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




More information about the All-commits mailing list