[PATCH] D44985: [CUDA] Let device-side shared variables be initialized with undef

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 29 14:06:05 PDT 2018


yaxunl updated this revision to Diff 140329.
yaxunl retitled this revision from "Remove initializer for CUDA shared varirable" to "[CUDA] Let device-side shared variables be initialized with undef".
yaxunl edited the summary of this revision.
yaxunl added a comment.

Revised by Artem's comment. Improve readability of condition.


https://reviews.llvm.org/D44985

Files:
  lib/CodeGen/CGDecl.cpp
  test/CodeGenCUDA/address-spaces.cu
  test/CodeGenCUDA/device-var-init.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44985.140329.patch
Type: text/x-patch
Size: 13196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180329/a3182dfb/attachment.bin>


More information about the cfe-commits mailing list