[all-commits] [llvm/llvm-project] 5a7764: [OpenCL] Guard depth image builtins

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Tue Sep 13 02:11:13 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a7764c9ff5db8c460b52bc2dec95d19df44d4c8
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M clang/lib/Headers/opencl-c.h
    M clang/lib/Sema/OpenCLBuiltins.td

  Log Message:
  [OpenCL] Guard depth image builtins

Ensure any uses of `image2d_depth_t` and `image2d_array_depth_t` are
guarded behind the `cl_khr_depth_images` extension in

Fix a few missing guards in `opencl-c.h`.

More information about the All-commits mailing list