[all-commits] [llvm/llvm-project] 61d065: Let clang atomic builtins fetch add/sub support fl...
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Tue Apr 6 12:45:40 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 61d065e21ff37fb9040aed711c97daddac2f7577
https://github.com/llvm/llvm-project/commit/61d065e21ff37fb9040aed711c97daddac2f7577
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2021-04-06 (Tue, 06 Apr 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/CodeGen/CGAtomic.cpp
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGen/fp-atomic-ops.c
A clang/test/CodeGenCUDA/amdgpu-atomic-ops.cu
M clang/test/CodeGenOpenCL/atomic-ops.cl
M clang/test/Sema/atomic-ops.c
M clang/test/SemaOpenCL/atomic-ops.cl
Log Message:
-----------
Let clang atomic builtins fetch add/sub support floating point types
Recently atomicrmw started to support fadd/fsub:
https://reviews.llvm.org/D53965
However clang atomic builtins fetch add/sub still does not support
emitting atomicrmw fadd/fsub.
This patch adds that.
Reviewed by: John McCall, Artem Belevich, Matt Arsenault, JF Bastien,
James Y Knight, Louis Dionne, Olivier Giroux
Differential Revision: https://reviews.llvm.org/D71726
More information about the All-commits
mailing list