torch-mlir/python/torch_mlir
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
..
_torch_mlir_custom_op_example Re-enable custom op support 2022-08-16 22:49:08 +05:30
cmake/modules Add initial LTC backend (#610) 2022-07-30 09:40:02 -04:00
csrc New ops support & enhancements (#1494) 2022-10-14 10:28:21 -04:00
dialects build: update llvm tag to 4546397e (#1502) 2022-10-18 04:22:53 +00:00
eager_mode Link against libtorch (#955) 2022-06-30 12:40:17 -07:00
__init__.py torch_mlir.compile: allow custom backend_legal_ops set 2022-10-12 04:21:22 -07:00
compiler_utils.py Update torch-mlir-opt error message. 2022-10-05 15:02:10 -04:00