The operation get_extent now accepts the dimension as an operand and is no
longer limited to constant dimensions.
A helper function facilitates the common constant use case.
Depends On D81162
Paths
| Differential D81248
[MLIR][Shape] Make dimension an operand of `get_extent` ClosedPublic Authored by frgossen on Jun 5 2020, 3:41 AM.
Details Summary The operation get_extent now accepts the dimension as an operand and is no Depends On D81162
Diff Detail
Event Timelinepifon2a added inline comments.
silvas added inline comments.
This revision is now accepted and ready to land.Jun 5 2020, 12:08 PM frgossen added inline comments.
Comment Actions Thanks!
Closed by commit rGe4184c84ca06: [MLIR][Shape] Make dimension an operand of `get_extent` (authored by frgossen). · Explain WhyJun 10 2020, 4:53 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 269795 mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
mlir/lib/Dialect/Shape/IR/Shape.cpp
mlir/test/Dialect/Shape/canonicalize.mlir
|
these "DeclareOp..." trait will disappear after rebase