torch-mlir/lib/Dialect/Torch/Transforms
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
..
AdjustCallingConventions.cpp Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
BackendTypeConversion.cpp Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
CMakeLists.txt Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
GlobalizeObjectGraph.cpp Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
InlineGlobalSlots.cpp Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
MaximizeValueSemantics.cpp Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
PassDetail.h Implement GlobalizeObjectGraph transformation. 2021-02-18 18:18:47 -08:00
Passes.cpp Add folders for torch.aten.gt.int / torch.aten.ne.int 2021-06-16 14:04:31 -07:00
PrepareForGlobalizeObjectGraph.cpp Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
ReduceOpVariants.cpp Introduce `!torch.tensor` / `!torch.vtensor` types. 2021-06-10 10:56:48 -07:00
RefinePublicReturn.cpp Introduce `!torch.tensor` / `!torch.vtensor` types. 2021-06-10 10:56:48 -07:00
RefineTypes.cpp Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00