[Mlir-commits] [mlir] [mlir][linalg] Generic to category specialization (PR #184624)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Fri Mar 6 01:02:11 PST 2026
================
@@ -923,10 +923,15 @@ FailureOr<GenericOp> interchangeGenericOp(RewriterBase &rewriter,
FailureOr<GenericOp> generalizeNamedOp(RewriterBase &rewriter,
LinalgOp linalgOp);
-/// Create a namedOp from the given GenericOp and replace the GenericOp.
-/// Currently we can specialize only trivial linalg copy operations.
-FailureOr<LinalgOp> specializeGenericOp(RewriterBase &rewriter,
- GenericOp genericOp);
+struct SpecializationOptions {
----------------
banach-space wrote:
IIRC, category ops can also be specialised, so this option is only relevant for `linalg.generic`?
```suggestion
struct GenericOpSpecializationOptions {
```
https://github.com/llvm/llvm-project/pull/184624
More information about the Mlir-commits
mailing list