torch-mlir/test/Dialect/Torch
Sean Silva 8860b5c55d Add `torch.prim.If`
This removes the use of `scf.if`, which required laundering back and
forth between `i1` and `!torch.bool` in the frontend. We will eventually
lower this op to `scf.if`, but this results in a cleaner IR and layering
at the frontend.
2021-06-16 14:04:31 -07:00
..
GlobalizeObjectGraph Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
adjust-calling-conventions.mlir Introduce native `!torch.none` type. 2021-06-14 13:30:58 -07:00
canonicalize.mlir Add `torch.prim.If` 2021-06-16 14:04:31 -07:00
finalizing-backend-type-conversion.mlir Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
func-backend-type-conversion.mlir Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
inline-global-slots.mlir Introduce `!torch.tensor` / `!torch.vtensor` types. 2021-06-10 10:56:48 -07:00
invalid.mlir Add `torch.constant.int` and `torch.constant.float`. 2021-06-15 15:29:42 -07:00
maximize-value-semantics.mlir Introduce `!torch.tensor` / `!torch.vtensor` types. 2021-06-10 10:56:48 -07:00
ops.mlir Add `torch.prim.If` 2021-06-16 14:04:31 -07:00
prepare-for-globalize-object-graph.mlir Support multiple instances of a class in GlobalizeObjectGraph. 2021-03-11 19:21:07 -08:00
reduce-op-variants.mlir Add `torch.constant.int` and `torch.constant.float`. 2021-06-15 15:29:42 -07:00
refine-public-return.mlir Introduce `!torch.tensor` / `!torch.vtensor` types. 2021-06-10 10:56:48 -07:00
refine-types.mlir Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00