[all-commits] [llvm/llvm-project] 4bb241: [builtins][AArch64] Implement _sync out-of-line at...

Jessica Clarke via All-commits all-commits at lists.llvm.org
Sun Sep 3 17:46:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bb2416d42eb593c44bbeb765e1b8641a58f853c
      https://github.com/llvm/llvm-project/commit/4bb2416d42eb593c44bbeb765e1b8641a58f853c
  Author: Jessica Clarke <jrtc27 at jrtc27.com>
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
    M compiler-rt/lib/builtins/CMakeLists.txt
    M compiler-rt/lib/builtins/aarch64/lse.S

  Log Message:
  -----------
  [builtins][AArch64] Implement _sync out-of-line atomics

Whilst Clang does not use these, recent GCC does, and so on systems such
as FreeBSD that wish to use compiler-rt as the system runtime library
but also wish to support building programs with GCC these interfaces are
needed.

This is a light adaptation of the code committed to GCC by Sebastian Pop
<spop at amazon.com>, relicensed with permission for use in compiler-rt.

Fixes https://github.com/llvm/llvm-project/issues/63483

Reviewed By: sebpop, MaskRay

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




More information about the All-commits mailing list