[PATCH] D151482: [LV] Add support for minimum/maximum intrinsics

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 19:56:41 PDT 2023


skatkov added a comment.

In D151482#4387272 <https://reviews.llvm.org/D151482#4387272>, @dmgreen wrote:

> I think that adding a new reduction intrinsic sounds like a good addition. We should even have native instructions we could use for it under AArch64. For Arm we have seemed to have never added support for llvm.minimum/maximum. (There isn't a good instruction for it, and there isn't any generic expansion, but adding a new type of reduction shouldn't make that any worse).

As I know AArch64 support minimum/maximum intrinsics and they are lowered to native fmin/fmax instructions.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151482/new/

https://reviews.llvm.org/D151482



More information about the llvm-commits mailing list