torch-mlir/lib/Conversion/TorchToLinalg
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
..
CMakeLists.txt Re-enable custom op support 2022-08-16 22:49:08 +05:30
DataMovement.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
IndirectDataMovement.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
Pooling.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
PopulatePatterns.h Re-enable custom op support 2022-08-16 22:49:08 +05:30
Random.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
Reduction.cpp [LINALG] Make `AtenMaxDimOp` use `arith.maxf` to calculate maximum (#1466) 2022-10-05 18:22:59 -07:00
TensorConstructors.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
TensorScalarInterop.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
TorchToLinalg.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
Uncategorized.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
Utils.cpp build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
Utils.h Add transposed case for at::convolution (#917) 2022-08-24 12:19:35 -04:00