[PATCH] D103911: [OpenCL] Add support of __opencl_c_images feature macro

Sven van Haastregt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 9 04:39:44 PDT 2021


svenvh added inline comments.


================
Comment at: clang/test/SemaOpenCL/unsupported-image.cl:1
+// RUN: %clang_cc1 -verify -cl-std=CL3.0 -cl-ext=-__opencl_c_images %s
+// RUN: %clang_cc1 -verify -cl-std=CL3.0 -cl-ext=+__opencl_c_images %s
----------------
Should we add `-triple spir`, as some of the image types (e.g. msaa) are part of an extension that may not be available for every default triple?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103911/new/

https://reviews.llvm.org/D103911



More information about the cfe-commits mailing list