There is another transform that lowers tensor.pad to tensor.empty + linalg.fill + tensor.insert_slice: transform.structured.rewrite_in_destination_passing_style. Delete the other transform.
Depends On: D153332
Paths
| Differential D153429
[mlir][linalg] Remove duplicate tensor.pad lowering pattern ClosedPublic Authored by springerm on Jun 21 2023, 7:49 AM.
Details Summary There is another transform that lowers tensor.pad to tensor.empty + linalg.fill + tensor.insert_slice: transform.structured.rewrite_in_destination_passing_style. Delete the other transform. Depends On: D153332
Diff Detail
Event Timelinespringerm added a parent revision: D153332: [mlir][tensor] Clean up tensor::DimOp usage.Jun 21 2023, 7:50 AM This revision is now accepted and ready to land.Jun 22 2023, 2:24 AM Closed by commit rG498f5ae94d3b: [mlir][linalg] Remove duplicate tensor.pad lowering pattern (authored by springerm). · Explain WhyJun 22 2023, 2:37 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 533518 mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
mlir/test/Dialect/Linalg/lower-pad-tensor.mlir
mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp
|