[all-commits] [llvm/llvm-project] 28de0f: [RISCV] Set __GCC_HAVE_SYNC_COMPARE_AND_SWAP_x def...
Luís Marques via All-commits
all-commits at lists.llvm.org
Tue Nov 24 14:51:16 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 28de0fb4863a3cfef06c26260219089123a80c2f
https://github.com/llvm/llvm-project/commit/28de0fb4863a3cfef06c26260219089123a80c2f
Author: Luís Marques <luismarques at lowrisc.org>
Date: 2020-11-24 (Tue, 24 Nov 2020)
Changed paths:
M clang/lib/Basic/Targets/RISCV.cpp
Log Message:
-----------
[RISCV] Set __GCC_HAVE_SYNC_COMPARE_AND_SWAP_x defines
The RISCV target did not set the GCC atomic compare and swap defines,
unlike other targets. This broke builds for things like glib on RISCV.
Patch by Kristof Provost (kprovost)
Differential Revision: https://reviews.llvm.org/D91784
More information about the All-commits
mailing list