Eliminate the subsequent applications of index_to_size and size_to_index.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D82082
[MLIR][Shape] Canonicalize subsequent `index_to_size` and `size_to_index` ClosedPublic Authored by frgossen on Jun 18 2020, 4:23 AM.
Details Summary Eliminate the subsequent applications of index_to_size and size_to_index.
Diff Detail
Event Timelinefrgossen retitled this revision from [MLIR][Shape] Add canonicalization pattern for `shape.size_to_index` to [MLIR][Shape] Canonicalize subsequent `index_to_size` and `size_to_index`.Jun 19 2020, 4:24 AM This revision is now accepted and ready to land.Jun 22 2020, 2:39 PM Closed by commit rGbf2a4f3b3a0b: [MLIR][Shape] Canonicalize subsequent `index_to_size` and `size_to_index` (authored by frgossen). · Explain WhyJun 25 2020, 5:47 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 273243 mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
mlir/lib/Dialect/Shape/IR/Shape.cpp
mlir/lib/Dialect/Shape/IR/ShapeCanonicalization.td
mlir/test/Dialect/Shape/canonicalize.mlir
|