[PATCH] D156782: [AMDGPU] Test disassembling of some basic True16 VOP2 instructions.

Joe Nash via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 07:43:01 PDT 2023


Joe_Nash added inline comments.


================
Comment at: llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop2.txt:2
+# RUN: llvm-mc -arch=amdgcn -mcpu=gfx1100 -mattr=-real-true16 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX11,W32,GFX11-FAKE16 %s
+# RUN: llvm-mc -arch=amdgcn -mcpu=gfx1100 -mattr=+real-true16 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX11,W32,GFX11-REAL16 %s
 # RUN: llvm-mc -arch=amdgcn -mcpu=gfx1100 -mattr=-WavefrontSize32,+WavefrontSize64 -disassemble -show-encoding < %s | FileCheck -check-prefixes=GFX11,W64 %s
----------------
I think we should use the same naming paradigm and workflow for CHECK names as in the codegen tests. To match codegen, it would make -mattr=+real-true16 tests are called 'GFX11'. There is an argument to do the naming the other way, where '-mattr=-real-true16' continues to be GFX11. Both are fine from my PoV; perhaps the choice should me made to minimize merge pain.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156782/new/

https://reviews.llvm.org/D156782



More information about the llvm-commits mailing list