[PATCH] D153288: [AArch64] Add SVE lowering for vector.reduce.fminimum and fmaximum

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 19 08:17:46 PDT 2023


dmgreen created this revision.
dmgreen added reviewers: paulwalker-arm, kmclaughlin, cameron.mcinally, efriedma, sdesmalen, david-arm.
Herald added subscribers: ctetreau, hiraditya, kristof.beyls.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.

Following what is already performed for vector.reduce.fmin/fmax, this adds lowering for the new vector.reduce.fminimum/fmaximum nodes to the SVE fminv and fmaxv instructions via the existing FMINV_PRED/FMAXV_PRED nodes.


https://reviews.llvm.org/D153288

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-fp-reduce.ll
  llvm/test/CodeGen/AArch64/sve-split-fp-reduce.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153288.532656.patch
Type: text/x-patch
Size: 10959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230619/a2680080/attachment.bin>


More information about the llvm-commits mailing list