torch-mlir/frontends/pytorch/test
Sean Silva 784156a998 Add `!torch.bool` type.
This finishes removing the dependence on the basicpy dialect!

Changes:
- Add `!torch.bool` type and replace use of `!basicpy.BoolType` in
  Torch-related code.
- Rename BuiltinTensorize to BackendTypeConversion since now it handles
  bool conversions (and, when we add !torch.int and !torch.float, it
  will handle those as well), and generalize the related utilities (I
  also moved them to Torch/Transforms since they aren't really part of
  Torch/IR).
  - Add `torch.to_i1` and `torch.from_i1` ops for materializations
- [cleanup] Reorganize `torch.constant.*` ops in TorchOps.td
- Remove dependency of `torch` dialect on `basicpy` dialect and also
  `std` dialect. For `std`, we use some call related ops, but the
  `torch` dialect itself never produces them (we have passes that do
  though).

This is fairly mechanical. Recommended review order:
- New stuff in Torch/IR
- New BuiltinTypeConversion files.
- Mechnical fixups elsewhere.
2021-06-16 13:22:00 -07:00
..
acap_export Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
builder Add `torch.constant.int` and `torch.constant.float`. 2021-06-15 15:29:42 -07:00
ivalue_import Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
node_import Add `!torch.bool` type. 2021-06-16 13:22:00 -07:00
torchscript_e2e_test Rewrite error reporting of e2e tests. 2021-05-20 11:28:20 -07:00
CMakeLists.txt Enable building using LLVM_EXTERNAL_PROJECTS. (#152) 2021-01-26 11:43:43 -07:00
extension_coexistence.py Update test configuration to import mlir from LLVM install location. 2020-10-12 15:25:07 -07:00
lit.cfg.py Enable building using LLVM_EXTERNAL_PROJECTS. (#152) 2021-01-26 11:43:43 -07:00
lit.site.cfg.py.in Enable building using LLVM_EXTERNAL_PROJECTS. (#152) 2021-01-26 11:43:43 -07:00