This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Allow v_accvgpr_write to use SGPR src on gfx940
ClosedPublic

Authored by rampitec on Mar 16 2022, 1:37 PM.

Diff Detail

Event Timeline

rampitec created this revision.Mar 16 2022, 1:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 16 2022, 1:37 PM
rampitec requested review of this revision.Mar 16 2022, 1:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 16 2022, 1:37 PM
Herald added a subscriber: wdng. · View Herald Transcript
Joe_Nash added inline comments.
llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
388

Why delete this? It seems unrelated to the patch.

rampitec marked an inline comment as done.Mar 17 2022, 10:03 AM
rampitec added inline comments.
llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
388

This patch makes the function unused:

AMDGPUDisassembler.cpp:388:21: warning: unused function 'decodeOperand_VGPR_32' [-Wunused-function]
static DecodeStatus decodeOperand_VGPR_32(MCInst &Inst,
                    ^
1 warning generated.
rampitec marked an inline comment as done.Mar 17 2022, 10:17 AM
This revision is now accepted and ready to land.Mar 17 2022, 11:46 AM
This revision was landed with ongoing or failed builds.Mar 17 2022, 12:12 PM
This revision was automatically updated to reflect the committed changes.