[PATCH] D88890: [AMDGPU] Add patterns for mad/mac legacy f32 instructions

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 6 05:36:57 PDT 2020


foad created this revision.
foad added reviewers: arsenm, rampitec, nhaehnle, mareko.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: LLVM.
foad requested review of this revision.
Herald added a subscriber: wdng.

Note that all subtargets up to GFX10.1 have v_mad_legacy_f32, but GFX8/9
lack v_mac_legacy_f32. GFX10.3 has no mad/mac f32 instructions at all.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88890

Files:
  llvm/lib/Target/AMDGPU/SIInstructions.td
  llvm/lib/Target/AMDGPU/VOP2Instructions.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.fmul.legacy.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fmul.legacy.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88890.296423.patch
Type: text/x-patch
Size: 30379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201006/54fe553b/attachment.bin>


More information about the llvm-commits mailing list