torch-mlir/lib/Dialect/TorchConversion/Transforms
Ashay Rane 711646d095
mhlo: migrate conversion to stablehlo (#1840)
This patch replaces all MHLO operations with their StableHLO
counterparts and adds a validation pass to ensure that no MHLO operations
remain before translating all Stablehlo operations to the MHLO dialect
for further lowering to the Linalg dialect.

This patch also updates all lit tests so that they refer to the
`convert-torch-to-stablehlo` pass and so that they check for StableHLO
operations.
2023-02-02 07:29:47 -06:00
..
BackendTypeConversion.cpp build: update llvm tag to 3a020527 (#1717) 2022-12-14 02:06:39 -06:00
BackendTypeConversionPasses.cpp update llvm to d23516e9ad477527a9db4d06b1fa9566680ac67c (#1812) 2023-01-23 16:34:22 -08:00
CMakeLists.txt mhlo: migrate conversion to stablehlo (#1840) 2023-02-02 07:29:47 -06:00
PassDetail.h llvm: bump tag to e1318078 (#781) 2022-04-26 12:27:51 -07:00
Passes.cpp mhlo: migrate conversion to stablehlo (#1840) 2023-02-02 07:29:47 -06:00
VerifyLinalgOnTensorsBackendContract.cpp [MLIR][TORCH] Add TorchConversionToMLProgram and MLProgramBufferize pass 2022-12-02 13:20:46 +05:30
VerifyStablehloBackendContract.cpp mhlo: migrate conversion to stablehlo (#1840) 2023-02-02 07:29:47 -06:00
VerifyTosaBackendContract.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00