[all-commits] [llvm/llvm-project] 6efead: [OpenCL] Add support of __opencl_c_3d_image_writes...
Anton Zabaznov via All-commits
all-commits at lists.llvm.org
Mon Aug 2 07:37:59 PDT 2021
Branch: refs/heads/release/13.x
Home: https://github.com/llvm/llvm-project
Commit: 6efead14f49f62e526d01bdfbeab2a7da847af4e
https://github.com/llvm/llvm-project/commit/6efead14f49f62e526d01bdfbeab2a7da847af4e
Author: Anton Zabaznov <anton.zabaznov at intel.com>
Date: 2021-08-02 (Mon, 02 Aug 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
(cherry picked from commit f16a4fcbe510d17b3f361d446eaf223208ded2bd)
More information about the All-commits
mailing list