[all-commits] [llvm/llvm-project] d46751: [GlobalISel][AArch64] Lower G_FMAD

Jessica Paquette via All-commits all-commits at lists.llvm.org
Mon Oct 3 15:15:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d46751a5721c7e3ab83bc5ecd760e8ba7c84bb30
      https://github.com/llvm/llvm-project/commit/d46751a5721c7e3ab83bc5ecd760e8ba7c84bb30
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2022-10-03 (Mon, 03 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/legalize-fmad.mir

  Log Message:
  -----------
  [GlobalISel][AArch64] Lower G_FMAD

Noticed this falling back on CTMark at -Os (bullet).

Seems like we have no 1:1 matching for it, so match SDAG and just lower.

Add testcases for common legal cases as well.

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




More information about the All-commits mailing list