diff options
author | Anton Zabaznov <anton.zabaznov@intel.com> | 2022-02-11 15:54:55 +0300 |
---|---|---|
committer | Anton Zabaznov <anton.zabaznov@intel.com> | 2022-02-11 17:40:24 +0300 |
commit | bfb1a33bec7c88170b0809b8a7c9cb860e7cc19b (patch) | |
tree | 22cc0995f442058f4e7dc7e5ad4e5064dac5f476 /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | 8fee667d31f6af9a8a6b44b120164fff4f65d198 (diff) | |
download | llvm-bfb1a33bec7c88170b0809b8a7c9cb860e7cc19b.zip llvm-bfb1a33bec7c88170b0809b8a7c9cb860e7cc19b.tar.gz llvm-bfb1a33bec7c88170b0809b8a7c9cb860e7cc19b.tar.bz2 |
[OpenCL] Adjust diagnostic for subgroup support.
OpenCL C 3.0 __opencl_c_subgroups feature is slightly different
then other equivalent features and extensions (fp64 and 3d image writes):
OpenCL C 3.0 device can support the extension but not the feature.
cl_khr_subgroups requires subgroup independent forward progress.
This patch adjusts the check which is used when translating language
builtins to check either the extension or feature is supported.
Reviewed By: Anastasia
Differential Revision: https://reviews.llvm.org/D118999
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions