torch-mlir/externals/llvm-external-projects/torch-mlir-dialects
Ramiro Leal-Cavazos 82a3860e25
build: update llvm tag to 4546397e (#1502)
This commit makes the following changes needed to update bump LLVM:

- Replace `linalg.init_tensor` with `tensor.empty` (see:
https://reviews.llvm.org/D135129)
- Replace `NoSideEffect` with `Pure` (see
https://reviews.llvm.org/D135505)
- Replace `body` region accessor for `ReduceOp` and `ReduceWindowOp`
with `getBody`
- Fix incorrect use of `tosa::ReduceSumOp` in `AtenNativeLayerNormOp`
conversion pattern. The result type of `tosa::ReduceSumOp` must have
the same rank as the input type. (see:
https://www.mlplatform.org/tosa/tosa_spec.html#_reduce_sum)

Co-authored-by: Ashay Rane <ashay@users.noreply.github.com>

Co-authored-by: Ashay Rane <ashay@users.noreply.github.com>
2022-10-18 04:22:53 +00:00
..
include build: update llvm tag to 4546397e (#1502) 2022-10-18 04:22:53 +00:00
lib build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
test build: update llvm tag to 4546397e (#1502) 2022-10-18 04:22:53 +00:00
tools build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
CMakeLists.txt Don't set MLIR_TABLEGEN_EXE (#1197) 2022-08-09 16:06:12 +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.