[PATCH] D127847: [AMDGPU][MC][GFX11] Correct src0 for dpp and dpp8 variants of v_cvt_*_e64

Dmitry Preobrazhensky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 04:53:41 PDT 2022


dp created this revision.
dp added reviewers: foad, Joe_Nash.
Herald added subscribers: kosarev, hsmhsm, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, jvesely, kzhuravl, arsenm.
Herald added a project: All.
dp requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Some of these opcodes accept SGPRs as src0 which is incorrect. See bug 56036 <https://github.com/llvm/llvm-project/issues/56036>.


https://reviews.llvm.org/D127847

Files:
  llvm/lib/Target/AMDGPU/VOP1Instructions.td
  llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp16.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
  llvm/test/MC/AMDGPU/gfx11_err.s
  llvm/test/MC/Disassembler/AMDGPU/gfx11_asm_vop3_dpp16.txt
  llvm/test/MC/Disassembler/AMDGPU/gfx11_asm_vop3_dpp8.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127847.437111.patch
Type: text/x-patch
Size: 131425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220615/b18454c7/attachment.bin>


More information about the llvm-commits mailing list