[Mlir-commits] [mlir] [mlir][linalg] Introduce transpose semantic to 'linalg.matmul' ops. (PR #104783)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Oct 9 16:20:37 PDT 2024
================
@@ -31,6 +31,12 @@ using namespace mlir::linalg;
FailureOr<Operation *> mlir::linalg::transposeMatmul(RewriterBase &rewriter,
linalg::MatmulOp matmulOp,
bool transposeLHS) {
+ // Check to not let go the matmul with extended semantic, through this
+ // transform.
+ if (matmulOp.hasUserDefinedMaps())
----------------
MaheshRavishankar wrote:
nit: for multiple lines it would be still good to add `{`...`}`
https://github.com/llvm/llvm-project/pull/104783
More information about the Mlir-commits
mailing list