[PATCH] D32977: [OpenCL] Emit function-scope variable in constant address space as static variable

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 10 13:06:29 PDT 2017


yaxunl updated this revision to Diff 98510.
yaxunl marked an inline comment as done.
yaxunl added a comment.

Revised by John's comments.


https://reviews.llvm.org/D32977

Files:
  include/clang/AST/Decl.h
  lib/CodeGen/CGDecl.cpp
  lib/Sema/SemaDecl.cpp
  test/CodeGenOpenCL/amdgpu-debug-info-pointer-address-space.cl
  test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
  test/CodeGenOpenCL/constant-addr-space-globals.cl
  test/SemaOpenCL/storageclass.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32977.98510.patch
Type: text/x-patch
Size: 14568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170510/6e618295/attachment.bin>


More information about the cfe-commits mailing list