Tensors/buffers that do not have any defined contents (e.g., tensor.empty) are no longer copied.
Depends On: D154071
Paths
| Differential D154081
[mlir][linalg] BufferizeToAllocationOp: Do not copy uninitialized buffers ClosedPublic Authored by springerm on Jun 29 2023, 6:54 AM.
Details Summary Tensors/buffers that do not have any defined contents (e.g., tensor.empty) are no longer copied. Depends On: D154071
Diff Detail
Event Timelinespringerm added a parent revision: D154071: [mlir][transform] Improve transform.get_closest_isolated_parent.Jun 29 2023, 6:54 AM This revision is now accepted and ready to land.Jul 4 2023, 4:37 AM Closed by commit rGef4f5357e3d3: [mlir][linalg] BufferizeToAllocationOp: Do not copy uninitialized buffers (authored by springerm). · Explain WhyJul 4 2023, 7:43 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537096 mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
mlir/test/Dialect/Linalg/transform-op-bufferize-to-allocation.mlir
|