[PATCH] D109525: [SVE] Only combine (fneg (fma)) => FNMLA with nsz

Peter Waller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 8 08:56:49 PST 2021


peterwaller-arm updated this revision to Diff 392804.
peterwaller-arm retitled this revision from "[SVE] Remove isel patterns for (fneg (fma)) -> fnmla." to "[SVE] Only combine (fneg (fma)) => FNMLA with nsz".
peterwaller-arm edited the summary of this revision.
peterwaller-arm added a comment.

- Update commit message / title
- Introduce PatFrag to check for nsz on the fneg.
- fmad tests no longer change, because -(fma) only arises as a consequence of nsz.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109525/new/

https://reviews.llvm.org/D109525

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/test/CodeGen/AArch64/sve-fp-combine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109525.392804.patch
Type: text/x-patch
Size: 7591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211208/11e42488/attachment.bin>


More information about the llvm-commits mailing list