[PATCH] D120704: [AMDGPU] Handle legacy multiply-accumulate opcodes in convertToThreeAddress

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 1 01:15:00 PST 2022


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

Handle V_MAC_LEGACY_F32 and V_FMAC_LEGACY_F32 in
convertToThreeAddress, to avoid the need for an extra mov
instruction in some cases.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120704

Files:
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.fmul.legacy.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fma.legacy.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fmul.legacy.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120704.412003.patch
Type: text/x-patch
Size: 5744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220301/0d8d101e/attachment.bin>


More information about the llvm-commits mailing list