Eliminate duplicate code for verification purposes. This concerns operations
that operate on error (size, shape, ...) or non-error values (index,
tensor<?xindex>).
Depends On D84438
Paths
| Differential D84439
[MLIR][Shape] Refactor verification AbandonedPublic Authored by frgossen on Jul 23 2020, 9:38 AM.
Details
Diff Detail
Event Timelinefrgossen added a child revision: D84441: [MLIR][Shape] Allow `shape.add` to operate on indices.Jul 23 2020, 9:44 AM Comment Actions This one was a bit restrictive and let to requiring some dynamic shapes where we had exact ranks, we can revise later, but that made canonicalization etc more tricky to reason about. Comment Actions Could you sync to head as I think this has some overlap with change I landed recently based on this :)
Revision Contents
Diff 281166 mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
mlir/lib/Dialect/Shape/IR/Shape.cpp
mlir/test/Dialect/Shape/invalid.mlir
|