torch-mlir/lib/Dialect
Ramiro Leal-Cavazos d849cbad14
Make `getTypeForScalarType` safer by returning `FailureOr<Type>` (#1814)
One of the potential values for a `torch_upstream::ScalarType` is
`Undefined`. This means that conversion of a `ScalarType` to another
type is a computation that can fail. To enforce handling of the
failure case, this commit makes the two helper functions that convert
`ScalarType`s into other types return `failure()` when the
`ScalarType` is `Undefined`.
2023-01-20 18:40:13 +00:00
..
Torch Make `getTypeForScalarType` safer by returning `FailureOr<Type>` (#1814) 2023-01-20 18:40:13 +00:00
TorchConversion build: update llvm tag to 7ccbb4df (#1736) 2022-12-20 18:17:27 +08:00
CMakeLists.txt Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00