"transform.structured.pad" now returns all tensor::PadOp in addition to the padded ops.
Also add a test case that shows how to force an allocation for "tensor.pad" ops with a custom memory space.
Depends On: D153554
Paths
| Differential D153555
[mlir][linalg][NFC] Return tensor::PadOp handle from transform op ClosedPublic Authored by springerm on Jun 22 2023, 7:53 AM.
Details Summary "transform.structured.pad" now returns all tensor::PadOp in addition to the padded ops. Also add a test case that shows how to force an allocation for "tensor.pad" ops with a custom memory space. Depends On: D153554
Diff Detail
Event Timelinespringerm added a child revision: D153874: [mlir][linalg] Do not emit FillOp for tensor.pad with zero padding.Jun 27 2023, 7:24 AM This revision is now accepted and ready to land.Jul 4 2023, 4:38 AM This revision was landed with ongoing or failed builds.Jul 4 2023, 5:25 AM Closed by commit rG0e06ec596132: [mlir][linalg] Return tensor::PadOp handle from transform op (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537062 mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
mlir/lib/Dialect/Linalg/Transforms/Padding.cpp
mlir/python/mlir/dialects/_structured_transform_ops_ext.py
mlir/test/Dialect/Linalg/pad-to-specific-memory-space.mlir
mlir/test/Dialect/Linalg/transform-op-hoist-pad-build-packing-loop-nest.mlir
mlir/test/Dialect/Linalg/transform-op-hoist-pad.mlir
mlir/test/Dialect/Linalg/transform-op-pad.mlir
mlir/test/Dialect/Linalg/transform-ops-invalid.mlir
mlir/test/Dialect/Linalg/transform-ops.mlir
|