Also add a test case that shows how to efficiently bufferize a tensor.pad op to an allocation by wrapping it in a bufferization.alloc_tensor op.
Depends On: D144409
Paths
| Differential D144401
[mlir][bufferization] Add bufferization.eliminate_empty_tensors transform op ClosedPublic Authored by springerm on Feb 20 2023, 8:32 AM.
Details Summary Also add a test case that shows how to efficiently bufferize a tensor.pad op to an allocation by wrapping it in a bufferization.alloc_tensor op. Depends On: D144409
Diff Detail
Event Timelinespringerm added a parent revision: D144397: [mlir][linalg] Revamp structured.bufferize_to_allocation.Feb 20 2023, 8:32 AM springerm added a child revision: D144409: [mlir][transform] Add transform.get_defining_op op.Feb 20 2023, 8:57 AM springerm edited parent revisions, added: D144409: [mlir][transform] Add transform.get_defining_op op; removed: D144397: [mlir][linalg] Revamp structured.bufferize_to_allocation. This revision is now accepted and ready to land.Mar 29 2023, 12:19 PM This revision was landed with ongoing or failed builds.Apr 5 2023, 10:22 PM Closed by commit rG1ccd8cd6e68c: [mlir][bufferization] Add bufferization.eliminate_empty_tensors transform op (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 498884 mlir/include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.td
mlir/lib/Dialect/Bufferization/TransformOps/BufferizationTransformOps.cpp
mlir/test/Dialect/Bufferization/Transforms/transform-ops.mlir
mlir/test/Dialect/Linalg/transform-op-bufferize-to-allocation.mlir
|