torch-mlir/test/Dialect/Torch
Sean Silva 224afb186e Add folders for torch.aten.gt.int / torch.aten.ne.int
This fixes a "regression" on ResNet where we weren't folding away all
the control flow. For now, our policy is to "optimize hard enough" to
make that control flow go away, because we don't yet have a way to lower
to the backend the stuff guarded by the control flow (RaiseException,
string operations, etc.).

It remains to be seen how much optimization we decide to do at this
level in the fullness of time -- the torch op set is not particularly
well-designed (at least not idiomatically for MLIR) for general
optimization. Ideally, with really good backend support for various
features, all the heavy optimization will happen at that layer on `std`
ops and `scf` control flow. But I have a suspicion we might end up
needing more optimization earlier in the pipeline.
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 folders for torch.aten.gt.int / torch.aten.ne.int 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