[all-commits] [llvm/llvm-project] f14d18: [RISCV] Add more patterns for FNMADD

ChunyuLiao via All-commits all-commits at lists.llvm.org
Fri Jun 3 21:31:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f14d18c7a9544ea5fbea736210d05e938a986033
      https://github.com/llvm/llvm-project/commit/f14d18c7a9544ea5fbea736210d05e938a986033
  Author: LiaoChunyu <chunyu at iscas.ac.cn>
  Date:   2022-06-04 (Sat, 04 Jun 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoD.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoF.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
    M llvm/test/CodeGen/RISCV/double-arith.ll
    M llvm/test/CodeGen/RISCV/float-arith.ll
    M llvm/test/CodeGen/RISCV/half-arith.ll

  Log Message:
  -----------
  [RISCV] Add more patterns for FNMADD

D54205 handles fnmadd: -rs1 * rs2 - rs3
This patch add fnmadd: -(rs1 * rs2 + rs3) (the nsz flag on the FMA)

Reviewed By: craig.topper

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




More information about the All-commits mailing list