mirror of https://github.com/llvm/torch-mlir
6c86bec04f
This commit makes the following changes: - Update dialects to use fold API `kEmitFoldAdaptorFolder` and update signature of `fold` methods (see PSA https://discourse.llvm.org/t/psa-new-improved-fold-method-signature-has-landed-please-update-your-downstream-projects/67618) - Replace `makeArrayRef` with `ArrayRef` (see https://reviews.llvm.org/D140896) - Remove `TypeRange{}` arg from `b.create<scf::IfOp>` since builder no longer takes that argument - Make `func`s in `Torch/invalid.mlir` private, since symbol declarations cannot be public. (see https://discourse.llvm.org/t/rfc-symbol-definition-declaration-x-visibility-checks/2140) |
||
---|---|---|
.. | ||
include | ||
lib | ||
test | ||
tools | ||
CMakeLists.txt | ||
README.md |
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.