Vectorize linalg.pad_tensor without generating a linalg.init_tensor when consumed by a transfer_write.
Depends On D103780
Paths
| Differential D103137
[mlir][linalg] Vectorize linalg.pad_tensor consumed by transfer_write ClosedPublic Authored by springerm on May 25 2021, 10:03 PM.
Details Summary Vectorize linalg.pad_tensor without generating a linalg.init_tensor when consumed by a transfer_write. Depends On D103780
Diff Detail
Event TimelineComment Actions Please add some tests.
springerm marked 2 inline comments as done. Comment Actions
springerm added a child revision: D103590: [mlir][linalg] Fold away empty PadTensorOp in canonicalizer.Jun 2 2021, 11:08 PM Comment Actions This CL feels like it's doing too much at once, can we please split the generic pattern from the 3 inittensor-less patterns ?
springerm retitled this revision from [mlir] Vectorize linalg.pad_tensor without init_tensor to [mlir][linalg] Vectorize linalg.pad_tensor without init_tensor.Jun 4 2021, 4:20 AM springerm added a parent revision: D103681: [mlir][linalg] Refactor PadTensorOpVectorizationPattern (NFC). springerm marked 2 inline comments as done. springerm added inline comments.
springerm retitled this revision from [mlir][linalg] Vectorize linalg.pad_tensor without init_tensor to [mlir][linalg] Vectorize linalg.pad_tensor consumed by transfer_write/subtensor.Jun 4 2021, 9:13 PM springerm added a parent revision: D103735: [mlir] Vectorize linalg.pad_tensor consumed by transfer_read. springerm retitled this revision from [mlir][linalg] Vectorize linalg.pad_tensor consumed by transfer_write/subtensor to [mlir][linalg] Vectorize linalg.pad_tensor consumed by transfer_write.Jun 6 2021, 6:00 PM springerm added a parent revision: D103780: [mlir] Vectorize linalg.pad_tensor consumed by subtensor_insert. This revision is now accepted and ready to land.Jun 11 2021, 5:00 AM This revision was landed with ongoing or failed builds.Jun 13 2021, 6:24 PM Closed by commit rG562f9e995dfa: [mlir] Vectorize linalg.pad_tensor consumed by transfer_write (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 348170 mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
|
More comments please.