[Mlir-commits] [mlir] [mlir][linalg] Generic to category specialization (PR #184624)

Adam Siemieniuk llvmlistbot at llvm.org
Fri Mar 6 01:09:09 PST 2026


================
@@ -220,6 +224,28 @@ static FailureOr<LinalgOp> specializeLinalgContractions(RewriterBase &rewriter,
                    [](AffineMap m) { return !m.isProjectedPermutation(); }))
     return failure();
 
+  // Only mul+add contraction is supported.
----------------
adam-smnk wrote:

It's a limitation of both the named and category ops.
Currently, there's no way to control the body type and they all default to mul+add only.

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


More information about the Mlir-commits mailing list