[Mlir-commits] [mlir] [MLIR][Linalg] Introduce broadcast/transpose semantic to 'linalg.batc… (PR #122275)
Adam Siemieniuk
llvmlistbot at llvm.org
Wed Jan 15 06:46:28 PST 2025
================
@@ -906,6 +906,15 @@ struct RankReduceContractionOps : OpRewritePattern<FromOpTy> {
LogicalResult matchAndRewrite(FromOpTy contractionOp,
PatternRewriter &rewriter) const override {
+ // Check to not let go the batch_matmul with extended semantic, through this
+ // transform.
+ if (std::is_same<FromOpTy, BatchMatmulOp>::value) {
----------------
adam-smnk wrote:
Since we're already here, could you do the same for matmul?
https://github.com/llvm/llvm-project/pull/122275
More information about the Mlir-commits
mailing list