[all-commits] [llvm/llvm-project] 1dfbc2: [AMDGPU] Only enable mad/mac legacy f32 patterns i...

Jay Foad via All-commits all-commits at lists.llvm.org
Fri Oct 9 09:18:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dfbc2ea144174f751ed3527e9b453e47a3a38e0
      https://github.com/llvm/llvm-project/commit/1dfbc2ea144174f751ed3527e9b453e47a3a38e0
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-10-09 (Fri, 09 Oct 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.fmul.legacy.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fmul.legacy.ll

  Log Message:
  -----------
  [AMDGPU] Only enable mad/mac legacy f32 patterns if denormals may be flushed

Following on from D88890, this makes the newly added patterns
conditional on NoFP32Denormals. mad/mac f32 instructions always flush
denormals regardless of the MODE register setting, and I believe the
legacy variants do the same.

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




More information about the All-commits mailing list