torch-mlir/lib/Conversion/TorchToMhlo
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
..
Basic.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
CMakeLists.txt build: update llvm tag to 4546397e (#1502) 2022-10-18 04:22:53 +00:00
Gather.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
Linear.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
MhloLegalizeUtils.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
MhloLegalizeUtils.h [MHLO] refactor pass configurations (#1315) 2022-09-01 10:36:02 +08:00
Pooling.cpp build: update llvm tag to 4546397e (#1502) 2022-10-18 04:22:53 +00:00
PopulatePatterns.h [MHLO] refactor pass configurations (#1315) 2022-09-01 10:36:02 +08:00
Reduction.cpp build: update llvm tag to 4546397e (#1502) 2022-10-18 04:22:53 +00:00
TorchToMhlo.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
ViewLike.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00