[Mlir-commits] [mlir] [MLIR][Linalg] Introduce broadcast/transpose semantic to 'linalg.batc… (PR #122275)
Adam Siemieniuk
llvmlistbot at llvm.org
Wed Jan 22 04:32:19 PST 2025
================
@@ -906,6 +907,10 @@ struct RankReduceContractionOps : OpRewritePattern<FromOpTy> {
LogicalResult matchAndRewrite(FromOpTy contractionOp,
PatternRewriter &rewriter) const override {
+ if (contractionOp.hasUserDefinedMaps()) {
+ return rewriter.notifyMatchFailure(
+ contractionOp, "ops with user-defined maps are not supported");
----------------
adam-smnk wrote:
Please add new test cases that cover these checks.
https://github.com/llvm/llvm-project/pull/122275
More information about the Mlir-commits
mailing list