This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL] Make read_write images optional for -fdeclare-opencl-builtins
ClosedPublic

Authored by svenvh on Jan 21 2022, 8:56 AM.

Details

Summary

Ensure any use of a read_write image is guarded behind the __opencl_c_read_write_images feature macro.

Diff Detail