[all-commits] [llvm/llvm-project] 91a0b4: [OpenCL] Make read_write images optional for -fdec...
Sven van Haastregt via All-commits
all-commits at lists.llvm.org
Tue Jan 25 03:40:52 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 91a0b464a853821734db8b1c521df03f8e2e56e7
https://github.com/llvm/llvm-project/commit/91a0b464a853821734db8b1c521df03f8e2e56e7
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2022-01-25 (Tue, 25 Jan 2022)
Changed paths:
M clang/lib/Headers/opencl-c-base.h
M clang/lib/Sema/OpenCLBuiltins.td
M clang/test/SemaOpenCL/fdeclare-opencl-builtins.cl
Log Message:
-----------
[OpenCL] Make read_write images optional for -fdeclare-opencl-builtins
Ensure any use of a `read_write` image is guarded behind the
`__opencl_c_read_write_images` feature macro.
Differential Revision: https://reviews.llvm.org/D117899
More information about the All-commits
mailing list