CollapseShapeOp/ExpandShapeOp that do not change the rank (or increase/reduce it) are invalid.
Depends On D138487
Paths
| Differential D138498
[mlir][tensor/memref] Disallow Collapse/ExpandShapeOps that do not reduce/increase the rank ClosedPublic Authored by springerm on Nov 22 2022, 7:15 AM.
Details Summary CollapseShapeOp/ExpandShapeOp that do not change the rank (or increase/reduce it) are invalid. Depends On D138487
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 22 2022, 7:32 AM Closed by commit rGb9745ad81273: [mlir][tensor/memref] Disallow Collapse/ExpandShapeOps that do not… (authored by springerm). · Explain WhyNov 23 2022, 12:31 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 477402 mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
mlir/test/Dialect/MemRef/invalid.mlir
mlir/test/Dialect/Tensor/invalid.mlir
|