[PATCH] D149260: [AArch64] Emit FNMADD instead of FNEG(FMADD)

Matt Devereau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 28 04:21:42 PDT 2023


MattDevereau updated this revision to Diff 517866.
MattDevereau edited the summary of this revision.
MattDevereau added a comment.

@craig.topper That was correct, it was only checking for contract. I've added a check for both contract and nsz being present and added some more tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149260

Files:
  llvm/include/llvm/CodeGen/MachineCombinerPattern.h
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/test/CodeGen/AArch64/aarch64_fnmadd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149260.517866.patch
Type: text/x-patch
Size: 8690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230428/9ba47de7/attachment.bin>


More information about the llvm-commits mailing list