[PATCH] D20039: [CUDA] Restrict init of local __shared__ variables to empty constructors only.
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Mon May 9 13:32:10 PDT 2016
tra updated this revision to Diff 56619.
tra added a comment.
Reworded comments.
Removed tests that no longer apply as we don't generate constructors for static local variables on device side.
Empty constructor cases are already covered by test/CodeGenCUDA/device-var-init.cu.
http://reviews.llvm.org/D20039
Files:
lib/CodeGen/CGDecl.cpp
lib/Sema/SemaDecl.cpp
test/CodeGenCUDA/address-spaces.cu
test/CodeGenCUDA/device-var-init.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20039.56619.patch
Type: text/x-patch
Size: 5512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160509/eda1f545/attachment.bin>
More information about the cfe-commits
mailing list