Lower shape.rank to standard dialect.
A shape's size is the same as the extent of the first and only dimension of the
tensor<?xindex> it is represented by.
Depends On D82077
Paths
| Differential D82080
[MLIR][Shape] Lower `shape.rank` ClosedPublic Authored by frgossen on Jun 18 2020, 3:57 AM.
Details
Summary Lower shape.rank to standard dialect. Depends On D82077
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 19 2020, 2:07 AM frgossen retitled this revision from [MLIR][Shape] Lower `shape.get_size` to [MLIR][Shape] Lower `shape.rank`.Jun 19 2020, 7:18 AM Closed by commit rG24debf5a76e0: [MLIR][Shape] Lower `shape.rank` (authored by frgossen). · Explain WhyJun 25 2020, 1:57 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 272349 mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
mlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir
|