This is a preliminary pattern to expose static information to enable
further transformations on tensor.pad like vectorization.
Depends On D117019
Paths
| Differential D117020
[mlir][tensor] Enhance tensor.pad result shape deduction Changes PlannedPublic Authored by antiagainst on Jan 11 2022, 5:51 AM.
Details
Summary This is a preliminary pattern to expose static information to enable Depends On D117019
Diff Detail
Event Timelineantiagainst added a child revision: D117021: [mlir][linalg] Vectorize PadTensorOp with conditional reads.Jan 11 2022, 5:51 AM mravishankar added inline comments.
This revision now requires changes to proceed.Feb 7 2022, 9:52 AM antiagainst added inline comments.
antiagainst retitled this revision from [mlir][linalg] Add a pattern to concretize PadTensorOp result shapes to [mlir][tensor] Enhance tensor.pad result shape deduction.Feb 10 2022, 9:26 AM antiagainst removed a child revision: D117021: [mlir][linalg] Vectorize PadTensorOp with conditional reads.Mar 12 2022, 8:31 AM
Revision Contents
Diff 407570 mlir/lib/Dialect/Tensor/IR/TensorInferTypeOpInterfaceImpl.cpp
mlir/test/Dialect/Linalg/pad_fusion.mlir
mlir/test/Dialect/Tensor/resolve-shaped-type-result-dims.mlir
|