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

Sven van Haastregt via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 23 08:47:59 PDT 2026


================
@@ -7960,6 +7994,11 @@ class Sema final : public SemaBase {
   /// do they have the same number of rows and the same number of columns?
   bool areMatrixTypesOfTheSameDimension(QualType srcTy, QualType destTy);
 
+  /// Are the two types cooperative matrix types and do they have the same
+  /// dimensions i.e. do they have the same number of rows and the same number
+  /// of columns? Also do they have the same scope and use?
+  bool areCoopMatrixTypesOfTheSameDimension(QualType srcTy, QualType destTy);
----------------
svenvh wrote:

`areCoopMatrixTypesCompatible` perhaps, as it's not only checking dimensions.

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


More information about the lldb-commits mailing list