mirror of https://github.com/llvm/torch-mlir
e568f7e999
The function `getTypeForScalarType` currently takes an argument to specify the signedness of integer types. This is leakage of backend specific requirements into the torch dialect world. Because `getTypeForScalarType` is a utility function for the torch dialect, it should only produce types that match the sign conventions used by PyTorch (regular integers are signed and unsigned integers are unsigned). This commit removes the signedness argument from `getTypeForScalarType`, and moves the backend specific handling of integer types to the backend code. |
||
---|---|---|
.. | ||
TMTensor | ||
Torch | ||
TorchConversion | ||
CMakeLists.txt |