This revision was automatically updated to reflect the committed changes.
Closed by commit rL245502: [CUDA] Added stubs for __nvvm_atom_add_*_d()
builtins. (authored by tra).
Changed prior to commit:
http://reviews.llvm.org/D11694?vs=31157id=32616#toc
Repository:
rL LLVM
tra updated this revision to Diff 32481.
tra added a comment.
Added a comment explaining reasoning behind attribute choice for
target-specific builtins.
http://reviews.llvm.org/D12122
Files:
include/clang/Basic/Builtins.h
lib/Sema/SemaChecking.cpp
lib/Sema/SemaDecl.cpp
tra updated this revision to Diff 32478.
tra marked an inline comment as done.
tra added a comment.
used isTSBuiltin in SemaChecking.cpp
http://reviews.llvm.org/D12122
Files:
include/clang/Basic/Builtins.h
lib/Sema/SemaChecking.cpp
lib/Sema/SemaDecl.cpp
test/SemaCUDA/builtins.cu
tra marked an inline comment as done.
Comment at: lib/Sema/SemaDecl.cpp:11166
@@ +11165,3 @@
+!FD-hasAttrCUDADeviceAttr() !FD-hasAttrCUDAHostAttr()) {
+ if (getLangOpts().CUDAIsDevice)
+FD-addAttr(CUDADeviceAttr::CreateImplicit(Context,
FD-getLocation()));
tra created this revision.
tra added reviewers: eliben, echristo.
tra added a subscriber: cfe-commits.
The patch adds appropriate __host__ or __device__ attributes to target-specific
builtins
so we can properly check whether they may or may not be called from particular
context.
Author: tra
Date: Mon Aug 10 15:57:02 2015
New Revision: 244501
URL: http://llvm.org/viewvc/llvm-project?rev=244501view=rev
Log:
[CUDA] Add implicit __attribute__((used)) to all __global__ functions.
This allows emitting kernels that were instantiated from the host code
and which would never be
This revision was automatically updated to reflect the committed changes.
Closed by commit rL244501: [CUDA] Add implicit __attribute__((used)) to all
__global__ functions. (authored by tra).
Changed prior to commit:
http://reviews.llvm.org/D11666?vs=31128id=31718#toc
Repository:
rL LLVM
tra added a comment.
LGTM'ed by Aaron Ballman via email that didn't make it to Phabricator.
http://reviews.llvm.org/D11690
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
801 - 808 of 808 matches
Mail list logo