[Mlir-commits] [mlir] [mlir][linalg] Introduce transpose semantic to 'linalg.matmul' ops. (PR #104783)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Oct 3 11:23:14 PDT 2024


================
@@ -149,15 +154,41 @@ static void fillStructuredOpRegion(OpBuilder &opBuilder, Region &region,
   // iterator_types is an auto-generated method.
 }
 
+/// Helper to create a typical indexing map for MatmulOp. Returns a list of
+/// AffineMap.
+static SmallVector<AffineMap, 3>
+inferDefaultIndexingMaps(MLIRContext *context) {
----------------
MaheshRavishankar wrote:

Nit: Rename this to `getDefaultIndexingMapsForMatmul`.

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


More information about the Mlir-commits mailing list