[Mlir-commits] [mlir] [mlir][linalg] Introduce transpose semantic to 'linalg.matmul' ops. (PR #104783)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Sep 24 15:14:10 PDT 2024
================
@@ -149,15 +154,30 @@ static void fillStructuredOpRegion(OpBuilder &opBuilder, Region ®ion,
// iterator_types is an auto-generated method.
}
+static void getDefaultIndexingMap(MLIRContext *context,
+ SmallVectorImpl<Attribute> &indexingMaps) {
+ Attribute mapAttr;
+ mapAttr = llvm::cast<AffineMapAttr>(
+ mlir::parseAttribute("affine_map<(d0, d1, d2)->(d0, d2)>", context));
----------------
MaheshRavishankar wrote:
+1. This just seems like a harder way than to just build the affine map directly without using the parser.
https://github.com/llvm/llvm-project/pull/104783
More information about the Mlir-commits
mailing list