[clang] [lldb] [llvm] [OpenCL][Clang] Add support for cooperative matrix extension (PR #221328)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 12 08:53:04 PDT 2026
================
@@ -5185,7 +5186,8 @@ ExprResult Sema::ActOnArraySubscriptExpr(Scope *S, Expr *base,
}
// If the base is a matrix type, try to create a new MatrixSubscriptExpr.
- if (base->getType()->isMatrixType()) {
+ if (base->getType()->isMatrixType() ||
----------------
asudarsa-qti wrote:
This is a good catch. We do not intend to support subscript expressions of the form a[i][j] for cooperative matrix. So, I will remove this change.
Thanks
https://github.com/llvm/llvm-project/pull/221328
More information about the cfe-commits
mailing list