[all-commits] [llvm/llvm-project] f16a4f: [OpenCL] Add support of __opencl_c_3d_image_writes...

Anton Zabaznov via All-commits all-commits at lists.llvm.org
Thu Jul 29 18:54:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f16a4fcbe510d17b3f361d446eaf223208ded2bd
      https://github.com/llvm/llvm-project/commit/f16a4fcbe510d17b3f361d446eaf223208ded2bd
  Author: Anton Zabaznov <anton.zabaznov at intel.com>
  Date:   2021-07-30 (Fri, 30 Jul 2021)

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

  Log Message:
  -----------
  [OpenCL] Add support of __opencl_c_3d_image_writes feature macro

This feature requires support of __opencl_c_images, so diagnostics for that is provided as well.
Also, ensure that cl_khr_3d_image_writes feature macro is set to the same value.

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D106260




More information about the All-commits mailing list