torch-mlir/python
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
..
test torch_mlir.compile: allow custom backend_legal_ops set 2022-10-12 04:21:22 -07:00
torch_mlir build: update llvm tag to 4546397e (#1502) 2022-10-18 04:22:53 +00:00
torch_mlir_e2e_test build: update llvm tag to 4546397e (#1502) 2022-10-18 04:22:53 +00:00
CMakeLists.txt Reenable LTC in out-of-tree build (for real this time) (#1205) 2022-08-19 15:25:00 -04:00
TorchMLIRModule.cpp Miscellaneous fixes for Windows builds (#1376) 2022-09-29 12:07:43 -05:00