torch-mlir/externals/llvm-external-projects/torch-mlir-dialects
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
..
include llvm: bump tag to e1318078 (#781) 2022-04-26 12:27:51 -07:00
lib build: fix code so that the compiler does not emit warnings (#871) 2022-05-25 14:04:59 -07:00
test mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
tools [NFC] Rename external -> externals (#699) 2022-03-26 09:12:27 -07:00
CMakeLists.txt Fix out-of-tree build of torch-mlir-dialects (#726) 2022-04-04 11:37:28 +02:00
README.md [NFC] Rename external -> externals (#699) 2022-03-26 09:12:27 -07:00

README.md

Torch-MLIR Dialects Project

Sources for torch-mlir's public dialects (containing ops/types/attributes that are unique to Torch-MLIR at the moment)

This project is intended to be used via LLVM's external projects setup:

  • -DLLVM_EXTERNAL_PROJECTS=torch-mlir-dialects
  • -DLLVM_EXTERNAL_TORCH_MLIR_DIALECTS_SOURCE_DIR={this_directory}

It depends on the mlir project.