[PATCH] D80804: [AMDGPU] Introduce Clang builtins to be mapped to AMDGCN atomic inc/dec intrinsics
Saiyedul Islam via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 8 13:18:29 PDT 2020
saiislam updated this revision to Diff 269327.
saiislam added a comment.
Atomic inc/dec operation width is now based on return type of the builtin.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80804/new/
https://reviews.llvm.org/D80804
Files:
clang/include/clang/Basic/BuiltinsAMDGPU.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/Sema/SemaChecking.cpp
clang/test/CodeGenCXX/builtin-amdgcn-atomic-inc-dec.cpp
clang/test/Sema/builtin-amdgcn-atomic-inc-dec-failure.cpp
clang/test/SemaOpenCL/builtins-amdgcn-error.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80804.269327.patch
Type: text/x-patch
Size: 33204 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200608/93ce6f62/attachment-0001.bin>
More information about the cfe-commits
mailing list