mirror of https://github.com/llvm/torch-mlir
8201e7b067
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. |
||
---|---|---|
.. | ||
TorchToArith | ||
TorchToLinalg | ||
TorchToMhlo | ||
TorchToSCF | ||
TorchToTMTensor | ||
TorchToTosa | ||
Utils | ||
CMakeLists.txt | ||
PassDetail.h | ||
Passes.cpp |