[all-commits] [llvm/llvm-project] 3efac5: [MLIR][Linalg] Add pass to convert linalg.generic ...
Javed Absar via All-commits
all-commits at lists.llvm.org
Sun Jun 30 11:38:13 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3efac5c68ac3117e8488a7fa247e45951e52936f
https://github.com/llvm/llvm-project/commit/3efac5c68ac3117e8488a7fa247e45951e52936f
Author: Javed Absar <106147771+javedabsar1 at users.noreply.github.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Passes.td
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
M mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp
A mlir/test/Dialect/Linalg/roundtrip-linalg-named-ops.mlir
A mlir/test/Dialect/Linalg/specialize-generic-ops.mlir
A mlir/test/Dialect/Linalg/transform-op-specialize-elemwise-binary.mlir
A mlir/test/Dialect/Linalg/transform-op-specialize-elemwise-unary.mlir
A mlir/test/Dialect/Linalg/transform-op-specialize-matmul.mlir
R mlir/test/Dialect/Linalg/transform-op-specialize_elemwise_binary.mlir
R mlir/test/Dialect/Linalg/transform-op-specialize_elemwise_unary.mlir
Log Message:
-----------
[MLIR][Linalg] Add pass to convert linalg.generic back to named ops (#95656)
Add a new mlir-opt pass `--linalg-specialize-generic-ops` which lifts generic,
where possible, to linalg named ops.
Much like `-linalg-generalize-named-ops` lowers named ops to linalg.generic .
Also add patterns to recognize contractions which can be specialized from
linalg.generic to named op: `linalg.{batch_}?matmul{_transpose_(a|b)}?`
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list