[PATCH] D78386: [ARM] Sink splats to fma intrinsics

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 10:47:26 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samparker, simon_tatham, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.

Similar to fmul/fadd, we can sink a splat into a loop containing a fma in order to use more register instruction variants. For that I had to adjust the sinking code a little to handle more than 2 arguments.


https://reviews.llvm.org/D78386

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/Thumb2/mve-fma-loops.ll
  llvm/test/CodeGen/Thumb2/mve-vldst4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78386.258359.patch
Type: text/x-patch
Size: 21019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200417/8ccaf0a8/attachment.bin>


More information about the llvm-commits mailing list