[clang] [lldb] [llvm] [OpenCL][Clang] Add support for cooperative matrix extension (PR #221328)

Sven van Haastregt via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 9 08:49:42 PDT 2026


================
@@ -0,0 +1,78 @@
+// Tests for semantic checking etc.
+//
+// RUN: %clang_cc1 -triple spirv64-unknown-unknown \
+// RUN:   -cl-std=CL2.0 -cl-ext=+cl_khr_cooperative_matrix \
+// RUN:   -finclude-default-header -fsyntax-only -verify %s
+
+// expected-no-diagnostics
----------------
svenvh wrote:

Since these are all positive tests, perhaps merge these with CodeGenOpenCL tests (with corresponding output checks).  That would reduce duplication across testing.

https://github.com/llvm/llvm-project/pull/221328


More information about the cfe-commits mailing list