[all-commits] [llvm/llvm-project] 200b20: AMDGPU: Use V_MAC_F32 for fmad.ftz

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Mar 10 14:41:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 200b20639ac2804318dee9fddfe79c7fea7bd623
      https://github.com/llvm/llvm-project/commit/200b20639ac2804318dee9fddfe79c7fea7bd623
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-03-10 (Tue, 10 Mar 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fmad.ftz.mir
    M llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fmad.ftz.f16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fmad.ftz.ll

  Log Message:
  -----------
  AMDGPU: Use V_MAC_F32 for fmad.ftz

This avoids regressions in a future patch. I'm confused by the use of
the gfx9 usage legacy_mad. Was this a pointless instruction rename, or
uses fmul_legacy handling? Why is regular mac avilable in that case?




More information about the All-commits mailing list