torch-mlir/lib/Conversion
Ashay Rane 029cd54327
build: fix code so that the compiler does not emit warnings (#871)
When compiling without assertions (i.e. in `NDEBUG` mode), a handful of
statements turn to NOPs, which results in warnings such as missing
return statement or unused variables and function. This patch replaces
such statements with `llvm_unreachable()`, which informs the compiler
about program termination regardless of the `NDEBUG` mode. This also
enables torch-mlir to be compiled using the flags `-Wall`, `-Wextra`,
`-Wpedantic`, and `-Werror`.
2022-05-25 14:04:59 -07:00
..
TorchToLinalg build: fix code so that the compiler does not emit warnings (#871) 2022-05-25 14:04:59 -07:00
TorchToSCF [TORCH][MLIR]Add lowering for control flow operations. 2022-04-29 16:25:58 +05:30
TorchToStd [MLIR][TORCH] Add E2E support for aten.Bool.[float|int] op 2022-05-24 21:18:34 +05:30
TorchToTMTensor llvm: bump tag to e1318078 (#781) 2022-04-26 12:27:51 -07:00
TorchToTosa llvm: bump tag to e1318078 (#781) 2022-04-26 12:27:51 -07:00
Utils llvm: bump tag to e1318078 (#781) 2022-04-26 12:27:51 -07:00
CMakeLists.txt [MLIR][TORCH] Add TorchToTMTensor pass 2022-03-08 22:52:34 +05:30
PassDetail.h llvm: bump tag to e1318078 (#781) 2022-04-26 12:27:51 -07:00
Passes.cpp [MLIR][TORCH] Add TorchToTMTensor pass 2022-03-08 22:52:34 +05:30