[Lldb-commits] [clang] [lldb] [llvm] [OpenCL][Clang] Add support for cooperative matrix extension (PR #221328)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 21 10:48:18 PDT 2026
================
@@ -120,7 +120,21 @@ llvm::Type *CodeGenTypes::ConvertTypeForMem(QualType T) {
}
return llvm::ArrayType::get(IRElemTy, MT->getNumElementsFlattened());
}
-
+ if (T->isCooperativeMatrixType()) {
----------------
asudarsa-qti wrote:
The ConvertTypeForMem handling is intended to provide the canonical QualType-to-LLVM-type lowering for cooperative matrices. It should not duplicate the type construction performed by CGBuiltin.
I will centralize construction of the spirv.CooperativeMatrixKHR TargetExtType in CodeGenTypes and make CGBuiltin reuse that helper. This keeps CGBuiltin responsible only for builtin-specific call emission and avoids maintaining two independent cooperative-matrix type mappings
https://github.com/llvm/llvm-project/pull/221328
More information about the lldb-commits
mailing list