[PATCH] D59259: [AArch64] Use faddp to implement fadd reductions.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 08:44:59 PDT 2019


sdesmalen created this revision.
sdesmalen added reviewers: nikic, aemerson, RKSimon, efriedma, spatel.
Herald added subscribers: kristof.beyls, javed.absar.

This patch custom expands legal VECREDUCE_FADD
SDNodes to benefit from pair-wise faddp instructions.


https://reviews.llvm.org/D59259

Files:
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.h
  lib/Target/AArch64/AArch64InstrInfo.td
  test/CodeGen/AArch64/aarch64-faddv.ll
  test/CodeGen/AArch64/vecreduce-fadd-legalization.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59259.190266.patch
Type: text/x-patch
Size: 9383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190312/23c400f2/attachment.bin>


More information about the llvm-commits mailing list