[all-commits] [llvm/llvm-project] 9b1897: [Driver] Use libatomic for 32-bit SPARC atomics su...

rorth via All-commits all-commits at lists.llvm.org
Fri Jul 29 00:20:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b1897bbd0e3a6e9ef099e74c3d3ed35428c0460
      https://github.com/llvm/llvm-project/commit/9b1897bbd0e3a6e9ef099e74c3d3ed35428c0460
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2022-07-29 (Fri, 29 Jul 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Gnu.cpp
    M clang/test/Driver/linux-ld.c

  Log Message:
  -----------
  [Driver] Use libatomic for 32-bit SPARC atomics support on Linux

This is the Linux/sparc64 equivalent to D118021
<https://reviews.llvm.org/D118021>, necessary to provide an external
implementation of atomics on 32-bit SPARC which LLVM cannot inline even
with `-mcpu=v9` or an equivalent default.

Tested on `sparc64-unknown-linux-gnu`.

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




More information about the All-commits mailing list