[PATCH] D147200: [ARM] Combine fadd into fcmla

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 30 00:14:36 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 is the MVE equivalent of https://reviews.llvm.org/D146407. It adds a target combine for `fadd(a, vcmla(b, c, d)) -> vcmla(fadd(a, b), c, d)`, pushing the fadd into the operands of the fcmla, which can help simplify away some additions.


https://reviews.llvm.org/D147200

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  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: D147200.509559.patch
Type: text/x-patch
Size: 5626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230330/c4280513/attachment.bin>


More information about the llvm-commits mailing list