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

Matt Devereau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 26 07:54:24 PDT 2023


MattDevereau created this revision.
MattDevereau added reviewers: sdesmalen, david-arm, kmclaughlin.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
MattDevereau requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Emit FNMADD instead of FNEG(FMADD) for optimization levels
above Oz when fast-math flags permit it.


Repository:
  rG LLVM Github Monorepo

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.517177.patch
Type: text/x-patch
Size: 6154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230426/34376b07/attachment.bin>


More information about the llvm-commits mailing list