[all-commits] [llvm/llvm-project] 18efa4: compiler-rt: Allow build without __c11_atomic_fetc...
Brooks Davis via All-commits
all-commits at lists.llvm.org
Wed Jun 1 09:58:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 18efa420da5fa065d88ba451cdcdbd950a2090c1
https://github.com/llvm/llvm-project/commit/18efa420da5fa065d88ba451cdcdbd950a2090c1
Author: Brooks Davis <brooks at FreeBSD.org>
Date: 2022-06-01 (Wed, 01 Jun 2022)
Changed paths:
M compiler-rt/lib/builtins/atomic.c
Log Message:
-----------
compiler-rt: Allow build without __c11_atomic_fetch_nand
Don't build atomic fetch nand libcall functions when the required
compiler builtin isn't available. Without this compiler-rt can't be
built with LLVM 13 or earlier.
Not building the libcall functions isn't optimal, but aligns with the
usecase in FreeBSD where compiler-rt from LLVM 14 is built with an LLVM
13 clang and no LLVM 14 clang is built.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D126710
More information about the All-commits
mailing list