[Mlir-commits] [mlir] [MLIR][Linalg] Add pass to convert linalg.generic back to named ops (PR #95656)
Javed Absar
llvmlistbot at llvm.org
Sat Jun 22 05:05:25 PDT 2024
================
@@ -0,0 +1,49 @@
+// RUN: mlir-opt %s -linalg-generalize-named-ops | mlir-opt --linalg-specialize-generic-ops | FileCheck %s
----------------
javedabsar1 wrote:
Have added tests to test separately.
- mlir/test/Dialect/Linalg/transform-op-specialize_matmul.mlir
- mlir/test/Dialect/Linalg/specialize-generic-ops.mlir
I added 'round-trip' test based on my own previous 'learning' experience (e.g. in LLVM/MLIR) where beginner looks at tests to understand/experiment. The round-trip brings home the feature/tools/options and the concept: named => generic => named.
https://github.com/llvm/llvm-project/pull/95656
More information about the Mlir-commits
mailing list