[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
Thu Oct 22 08:52:51 PDT 2026
================
@@ -0,0 +1,159 @@
+// Tests for function-name mangling of SPIR-V friendly cooperative matrix intrinsics.
+//
+// RUN: %clang_cc1 -triple spirv64-unknown-unknown \
+// RUN: -cl-std=CL2.0 -cl-ext=+cl_khr_cooperative_matrix \
+// RUN: -finclude-default-header -emit-llvm -O0 -o %t.ll %s
----------------
svenvh wrote:
For all RUN lines that have `-finclude-default-header`: please add `-fdeclare-opencl-builtins` too, as it'll make the tests faster by not including the large `opencl.h` header.
Applies to all tests.
https://github.com/llvm/llvm-project/pull/221328
More information about the cfe-commits
mailing list