================
@@ -96,6 +96,79 @@ bool mlir::isRowMajorBatchMatmul(ArrayAttr indexingMaps) {
   return indexingMaps == maps;
 }
 
+bool mlir::isVecmat(ArrayAttr indexingMaps) {
+  if (indexingMaps.size() != 3)
+    return false;
+  auto map0 = cast<AffineMapAttr>(indexingMaps[0]).getValue();
----------------
dcaballe wrote:

nit: for readability, we try to minimize the use of `auto` to some extent, 
leaving it only for cases where the actual type class is explicit on the 
right-hand side. I would use the type name here and for the mlir contexts below.

https://github.com/llvm/llvm-project/pull/68945
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to