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

Matthew Devereau via All-commits all-commits at lists.llvm.org
Fri May 5 06:36:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea228bd0bd0173ffd4aac497a312a852e8f7ffad
      https://github.com/llvm/llvm-project/commit/ea228bd0bd0173ffd4aac497a312a852e8f7ffad
  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