torch-mlir/lib/Conversion
Ramiro Leal-Cavazos 8201e7b067
[LINALG] Make `AtenMaxDimOp` use `arith.maxf` to calculate maximum (#1466)
This commit updates the linalg conversion of `AtenMaxDimOp` to use
`arith.maxf` instead of `arith.select` to calculate the maximum. This
allows better vectorization further downstream, since the operation
can be converted to a simple max reduction when the `indices` result
is not used. See: https://github.com/iree-org/iree/issues/10666.
2022-10-05 18:22:59 -07:00
..
TorchToArith build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
TorchToLinalg [LINALG] Make `AtenMaxDimOp` use `arith.maxf` to calculate maximum (#1466) 2022-10-05 18:22:59 -07:00
TorchToMhlo build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
TorchToSCF build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
TorchToTMTensor build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
TorchToTosa build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
Utils build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
CMakeLists.txt Rename TorchToStd pass as TorchToArith (#1163) 2022-08-10 20:12:51 +01:00
PassDetail.h llvm: bump tag to e1318078 (#781) 2022-04-26 12:27:51 -07:00
Passes.cpp [MLIR][MHLO] Add AtenFrobeniusNormDimOp and add its conversion pattern to MHLO and linalg (#1306) 2022-09-08 10:15:36 +08:00