================
@@ -14102,6 +14105,31 @@ void Sema::DiagnoseUniqueObjectDuplication(const 
VarDecl *VD) {
   }
 }
 
+// Return the CallExpr if builtin call returns cooperative matrix.
+CallExpr *Sema::getCoopMatrixBuiltinCall(Expr *RHSExpr) {
+  RHSExpr = RHSExpr->IgnoreParens();
----------------
svenvh wrote:

Please make sure to add a test for e.g. the form `MatA_t a = 
(coop_mat_load(ptr, ROW_MAJOR, 16));`

https://github.com/llvm/llvm-project/pull/221328
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to