This can be a pre-processing for bufferization and allows for more efficient lowerings without an alloc.
Depends On: D142205
Paths
| Differential D142206
[mlir][linalg] Convert tensor.from_elements to destination style ClosedPublic Authored by springerm on Jan 20 2023, 5:54 AM.
Details Summary This can be a pre-processing for bufferization and allows for more efficient lowerings without an alloc. Depends On: D142205
Diff Detail
Event Timelinespringerm added a parent revision: D142205: [mlir][linalg] Convert tensor.generate to destination style.Jan 20 2023, 5:55 AM springerm added a child revision: D142207: [mlir][linalg] Convert tensor.pad to destination style.Jan 20 2023, 5:58 AM springerm retitled this revision from [mlir][tensor] Convert tensor.from_elements to destination style to [mlir][linalg] Convert tensor.from_elements to destination style.Jan 23 2023, 3:55 AM Comment Actions note the impl is mostly copied from tensor/transforms/bufferizableopinterfaceimpl.cpp. you can compare the code This revision is now accepted and ready to land.Jan 24 2023, 10:20 AM Closed by commit rG124fce09a24e: [mlir][linalg] Convert tensor.from_elements to destination style (authored by springerm). · Explain WhyJan 25 2023, 12:18 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 492011 mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
mlir/test/Dialect/Linalg/convert-to-destination-style.mlir
|