[PATCH] D106260: [OpenCL] Add support of __opencl_c_3d_image_writes feature macro

Anton Zabaznov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 23 04:25:04 PDT 2021


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

Unify with `err_opencl_requires_extension`. Infrastructure for getting aliased extensions seems to messy and doesn't seem worth it yet since there are only two cases of such functionality (fp64 and 3d image writes) :(


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106260

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Basic/OpenCLOptions.cpp
  clang/lib/Basic/Targets/AMDGPU.h
  clang/lib/Sema/SemaType.cpp
  clang/test/Misc/opencl-c-3.0.incorrect_options.cl
  clang/test/SemaOpenCL/unsupported-image.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106260.361155.patch
Type: text/x-patch
Size: 8912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210723/51b5ce72/attachment.bin>


More information about the cfe-commits mailing list