[PATCH] D127087: [AArch64] Generate FADDP from shuffled fadd

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 00:45:58 PDT 2022


dmgreen created this revision.
dmgreen added reviewers: samtebbs, SjoerdMeijer, labrinea, jaykang10.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.

As a follow up to D126686 <https://reviews.llvm.org/D126686>, this does the same fold for floating point add and shuffle. In this case it is limited to reassoc either `x[0]+x[1]` or `x[1]+x[0]` for both result[0] and results[1].


https://reviews.llvm.org/D127087

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/faddp-half.ll
  llvm/test/CodeGen/AArch64/faddp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127087.434395.patch
Type: text/x-patch
Size: 5795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220606/cfcc07d8/attachment.bin>


More information about the llvm-commits mailing list