[all-commits] [llvm/llvm-project] caa95c: [AArch64] Emit FNMADD instead of FNEG(FMADD)

Matthew Devereau via All-commits all-commits at lists.llvm.org
Fri May 5 01:14:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: caa95c2408677d7af8c7be4da203ea9271854f46
      https://github.com/llvm/llvm-project/commit/caa95c2408677d7af8c7be4da203ea9271854f46
  Author: Matt Devereau <matthew.devereau at arm.com>
  Date:   2023-05-05 (Fri, 05 May 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineCombinerPattern.h
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    A llvm/test/CodeGen/AArch64/aarch64_fnmadd.ll

  Log Message:
  -----------
  [AArch64] Emit FNMADD instead of FNEG(FMADD)

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

Differential Revision: https://reviews.llvm.org/D149260




More information about the All-commits mailing list