Allow clients to create a new ShapedType of the same "container" type but with
different element or shape. First use case is when refining shape during shape
inference without needing to consider which ShapedType is being refined.
Details
Details
- Reviewers
mehdi_amini rriddle - Commits
- rG381a65fa0661: [mlir] Add clone method to ShapedType
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/lib/Transforms/TestUpdateShapedTypes.cpp | ||
---|---|---|
9 | Honestly this would be much better suited to a directed unit test instead of this. |
mlir/test/lib/Transforms/TestUpdateShapedTypes.cpp | ||
---|---|---|
9 | Yeah I was between those, the unit test is more cumbersome to add tests for but not the most frequent occurrence (also not all linear maps need to be tested :)) |
Honestly this would be much better suited to a directed unit test instead of this.