The operations to_extent_tensor and from_extent_tensor become no-ops when
lowered to the standard dialect.
This is possible with a lowering from shape.shape to tensor<?xindex>.
Depends On D81161
Paths
| Differential D81162
[MLIR] Add `to/from_extent_tensor` lowering to the standard dialect ClosedPublic Authored by frgossen on Jun 4 2020, 7:00 AM.
Details Summary The operations to_extent_tensor and from_extent_tensor become no-ops when Depends On D81161
Diff Detail
Event Timelinefrgossen added a child revision: D81248: [MLIR][Shape] Make dimension an operand of `get_extent`.Jun 5 2020, 3:41 AM frgossen added a child revision: D81249: [MLIR][Shape] Add support for `OpAsmInterface` in `shape.const_size`.Jun 5 2020, 3:45 AM This revision is now accepted and ready to land.Jun 5 2020, 5:17 AM Closed by commit rG970bb4a291c0: [MLIR] Add `to/from_extent_tensor` lowering to the standard dialect (authored by frgossen). · Explain WhyJun 8 2020, 2:41 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 268461 mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
mlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir
|