torch-mlir/test/Dialect/Torch
Sean Silva 84a9693006 Elide `!torch.` prefix in nested dialect types.
This leads to much more succinct types in many cases:

```
!torch.list<!torch.int>
!torch.list<int>

!torch.tuple<!torch.list<!torch.int>, !torch.list<!torch.int>>
!torch.tuple<list<int>, list<int>>

!torch.optional<!torch.list<!torch.int>>
!torch.optional<list<int>>

!torch.list<list<list<tensor>>>
!torch.list<!torch.list<!torch.list<!torch.tensor>>>
```

I would like to take this further and allow omitting the `!torch.`
prefix in all cases, but that's harder -- for example, we currently use
`FuncOp` for functions, and so I don't think we can customize the
printing there. It seems like it will be a longer road to getting that
level of customization.
2022-03-15 17:24:08 -07:00
..
GlobalizeObjectGraph Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
adjust-calling-conventions.mlir Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
canonicalize.mlir Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
decompose-complex-ops.mlir Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
drop-shape-calculations.mlir Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
inline-global-slots.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
invalid.mlir Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
maximize-value-semantics.mlir Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
ops.mlir Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
prepare-for-globalize-object-graph.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
promote-types.mlir Introduce new shape library design. 2022-03-15 12:41:58 -07:00
reduce-op-variants-error.mlir Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
reduce-op-variants.mlir Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
refine-public-return.mlir Introduce new shape library design. 2022-03-15 12:41:58 -07:00
refine-types-branch.mlir Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
refine-types-ops.mlir Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
refine-types.mlir Introduce new shape library design. 2022-03-15 12:41:58 -07:00
reify-shape-calculations.mlir Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00
simplify-shape-calculations.mlir Elide `!torch.` prefix in nested dialect types. 2022-03-15 17:24:08 -07:00