This revision was automatically updated to reflect the committed changes.
Closed by commit rG50f8abb9f40a: [OpenCL] Add OpenCL 3.0 atomics to
-fdeclare-opencl-builtins (authored by svenvh).
Changed prior to commit:
https://reviews.llvm.org/D119420?vs=407432&id=407813#toc
Repository:
rG LLVM
Anastasia accepted this revision.
Anastasia added a comment.
This revision is now accepted and ready to land.
LGTM! The rename can be made on commit.
Comment at: clang/test/SemaOpenCL/fdeclare-opencl-builtins.cl:84
+#if (__OPENCL_CPP_VERSION__ == 100 || __OPENCL_C_VERSION__ =
Anastasia added inline comments.
Comment at: clang/lib/Sema/OpenCLBuiltins.td:1151
foreach addrspace = [GlobalAS, LocalAS, GenericAS] in {
-let Extension = !cast("FuncExtFloatAtomicsFp16" #
addrspace # "LoadStore") in {
- defm : BuiltinAtomicExplicit<"atomic_store",
svenvh created this revision.
svenvh added reviewers: Anastasia, haonanya.
svenvh added a project: clang.
Herald added subscribers: Naghasan, ldrumm, yaxunl.
svenvh requested review of this revision.
Herald added a subscriber: cfe-commits.
Add the atomic overloads for the `global` and `local` addr