[PATCH] D131559: [AMDGPU][MC][GFX11][NFC] Consolidate VOP tests

Dmitry Preobrazhensky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 10 05:35:42 PDT 2022


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

Summary of changes:

- Consolidate `VOP` tests by encoding. Currently, some files include tests for many encodings.
- Separate `VOP1/VOP2/VOPC` tests. Some of these need additional corrections because they use 16-bit VGPRs they cannot really address.
- Separate tests for `v_cmp_` and `v_cmpx_` opcodes.
- Remove identical tests (found more than 1000).


https://reviews.llvm.org/D131559

Files:
  llvm/test/MC/AMDGPU/gfx11_asm_dpp.s
  llvm/test/MC/AMDGPU/gfx11_asm_dpp16.s
  llvm/test/MC/AMDGPU/gfx11_asm_dpp8.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop1_dpp16.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop1_dpp8.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop2_dpp16.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop2_dpp8.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop3.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp16.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop3c.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop3c_dpp16.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop3c_dpp8.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop3cx.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop3cx_dpp16.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop3cx_dpp8.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop3p_dpp16.s
  llvm/test/MC/AMDGPU/gfx11_asm_vop3p_dpp8.s
  llvm/test/MC/AMDGPU/gfx11_asm_vopc_dpp.s
  llvm/test/MC/AMDGPU/gfx11_asm_vopc_dpp16.s
  llvm/test/MC/AMDGPU/gfx11_asm_vopc_dpp8.s
  llvm/test/MC/AMDGPU/gfx11_asm_vopc_e64.s
  llvm/test/MC/AMDGPU/gfx11_asm_vopcx.s
  llvm/test/MC/AMDGPU/gfx11_asm_vopcx_dpp16.s
  llvm/test/MC/AMDGPU/gfx11_asm_vopcx_dpp8.s



More information about the llvm-commits mailing list