[PATCH] D147201: [ARM] Fold fadd of vcmul into vcmla

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 30 00:19:42 PDT 2023


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

This adds an extra tablegen combine for folding `fadd(a, vcmul(b, c))` into `vcmla(a, b, c)`, so long as the fadd is allowed to contract.


https://reviews.llvm.org/D147201

Files:
  llvm/lib/Target/ARM/ARMInstrInfo.td
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/test/CodeGen/Thumb2/mve-complex-deinterleaving-mixed-cases.ll
  llvm/test/CodeGen/Thumb2/mve-vcmla.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147201.509560.patch
Type: text/x-patch
Size: 4589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230330/d9ec1812/attachment.bin>


More information about the llvm-commits mailing list