[all-commits] [llvm/llvm-project] 526c42: [OpenCL] Hide sampler-less read_image builtins bef...

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Thu Jan 28 03:14:54 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 526c42e76c12d9cfe83dfa5957fe1715ab8d1faf
      https://github.com/llvm/llvm-project/commit/526c42e76c12d9cfe83dfa5957fe1715ab8d1faf
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M clang/lib/Sema/OpenCLBuiltins.td
    M clang/test/CodeGenOpenCL/fdeclare-opencl-builtins.cl
    M clang/test/SemaOpenCL/fdeclare-opencl-builtins.cl

  Log Message:
  -----------
  [OpenCL] Hide sampler-less read_image builtins before CL1.2

Ensure sampler-less image read functions are not available with
`-fdeclare-opencl-builtins` before OpenCL 1.2.




More information about the All-commits mailing list