[PATCH] D111638: [AArch64][SVE] Combine predicated FMUL/FADD into FMA

Matt Devereau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 12 06:25:31 PDT 2021


MattDevereau created this revision.
MattDevereau added reviewers: peterwaller-arm, DavidTruby, david-arm, paulwalker-arm, bsmith.
Herald added subscribers: ctetreau, psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
MattDevereau requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

[AArch64][SVE] Combine predicated FMUL/FADD into FMA

      

Combine FADD and FMUL intrinsics into FMA when the result of the FMUL is an FADD operand with one only use and both use the same predicate.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111638

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-fmla.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111638.379005.patch
Type: text/x-patch
Size: 10582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211012/678b12da/attachment.bin>


More information about the llvm-commits mailing list