[PATCH] D71726: Let clang atomic builtins fetch add/sub support floating point types
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 19 13:14:30 PST 2019
yaxunl created this revision.
yaxunl added reviewers: rjmccall, b-sumner.
Herald added a subscriber: jfb.
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.
https://reviews.llvm.org/D71726
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/CodeGen/CGAtomic.cpp
clang/lib/Sema/SemaChecking.cpp
clang/test/CodeGen/atomic-ops.c
clang/test/CodeGenOpenCL/atomic-ops.cl
clang/test/Sema/atomic-ops.c
clang/test/SemaOpenCL/atomic-ops.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71726.234775.patch
Type: text/x-patch
Size: 9709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191219/bf954231/attachment.bin>
More information about the cfe-commits
mailing list