[PATCH] D103401: [OpenCL] Add support of __opencl_c_generic_address_space feature macro

Anton Zabaznov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 1 07:24:24 PDT 2021


azabaznov updated this revision to Diff 355873.
azabaznov added a comment.

Added FIXME. Alternatively, we could add this language option only in `::adjust` if there is still a worry about multiple places of definitions. Btw, there will some more language options which dependent on target settings for OpenCL C 3.0, such as pipes and blocks


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103401/new/

https://reviews.llvm.org/D103401

Files:
  clang/lib/Basic/TargetInfo.cpp
  clang/lib/Parse/ParseDecl.cpp
  clang/test/CodeGenOpenCL/address-spaces-conversions.cl
  clang/test/CodeGenOpenCL/address-spaces-mangling.cl
  clang/test/CodeGenOpenCL/address-spaces.cl
  clang/test/CodeGenOpenCL/amdgpu-sizeof-alignof.cl
  clang/test/CodeGenOpenCL/overload.cl
  clang/test/SemaOpenCL/address-spaces-conversions-cl2.0.cl
  clang/test/SemaOpenCL/address-spaces.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103401.355873.patch
Type: text/x-patch
Size: 11638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210701/36f014d2/attachment.bin>


More information about the cfe-commits mailing list