]> granicus.if.org Git - clang/commit
[NVPTX] Implement __nvvm_atom_add_gen_d builtin.
authorJustin Lebar <jlebar@google.com>
Tue, 7 Nov 2017 22:10:54 +0000 (22:10 +0000)
committerJustin Lebar <jlebar@google.com>
Tue, 7 Nov 2017 22:10:54 +0000 (22:10 +0000)
commit3c447c368ec7295ecd64b2655de9f16938f142f6
tree0a710e70eac8497629586f860130a8a05f022ce2
parent16669a73e170cb7807b61a01e1c3734d5d2ccd71
[NVPTX] Implement __nvvm_atom_add_gen_d builtin.

Summary:
This just seems to have been an oversight.  We already supported the f64
atomic add with an explicit scope (e.g. "cta"), but not the scopeless
version.

Reviewers: tra

Subscribers: jholewinski, sanjoy, cfe-commits, llvm-commits, hiraditya

Differential Revision: https://reviews.llvm.org/D39638

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317623 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsNVPTX.def
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/builtins-nvptx-ptx50.cu [new file with mode: 0644]