[AMDGPU] Allow v_accvgpr_write to use SGPR src on gfx940
commit522b259976620b3e67df2d6c5eb555a1c69592a9
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Wed, 16 Mar 2022 19:39:31 +0000 (16 12:39 -0700)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Thu, 17 Mar 2022 19:12:06 +0000 (17 12:12 -0700)
tree98bd2f9035af4ff2ecf477ad912b4690c047b2ea
parentf18590118eddd2c3404b8bddf88f14f1d44e4029
[AMDGPU] Allow v_accvgpr_write to use SGPR src on gfx940

Differential Revision: https://reviews.llvm.org/D121843
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/VOP3PInstructions.td
llvm/test/CodeGen/AMDGPU/accvgpr-copy.mir
llvm/test/MC/AMDGPU/mai-err.s
llvm/test/MC/AMDGPU/mai-gfx940.s [new file with mode: 0644]
llvm/test/MC/Disassembler/AMDGPU/mai-gfx940.txt [new file with mode: 0644]