[PATCH] D44985: Disable zeroinitializer for CUDA shared varirable for amdgcn target

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 28 10:00:55 PDT 2018


yaxunl created this revision.
yaxunl added a reviewer: rjmccall.

amdgcn does not support zeroinitializer for CUDS shared variable.

Patch by Greg Rodgers.
Lit test added by Yaxun Liu.


https://reviews.llvm.org/D44985

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44985.140095.patch
Type: text/x-patch
Size: 10580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180328/5f89d5b1/attachment.bin>


More information about the cfe-commits mailing list