[PATCH] D133489: [AMDGPU] Fix shrinking of F16 FMA on newer subtargets
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 8 06:51:56 PDT 2022
foad created this revision.
foad added reviewers: AMDGPU, rampitec.
Herald added subscribers: kosarev, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
Herald added a project: All.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
D125803 <https://reviews.llvm.org/D125803> introduced shrinking of F16 <https://reviews.llvm.org/F16> FMA to FMAAK/FMAMK in
SIShrinkInstructions (useful on GFX10+ where VOP3 instructions may have
a literal operand) but failed to handle the V_FMA_F16_gfx9_e64 form of
the opcode which is used on GFX9+.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D133489
Files:
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
llvm/test/CodeGen/AMDGPU/fma.f16.ll
llvm/test/CodeGen/AMDGPU/gfx10-shrink-mad-fma.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133489.458722.patch
Type: text/x-patch
Size: 5657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220908/56897597/attachment.bin>
More information about the llvm-commits
mailing list