[llvm] [AMDGPU] Fix MC/Disassembler/AMDGPU/decode-err.txt. (PR #96621)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 05:11:25 PDT 2024


================
@@ -39,11 +41,11 @@
 0x10,0x40,0x40,0xcc,0x00,0x11,0x02,0x18 # src2 sgpr0
 
 # this is ds_add_f32 with gds bit which is not valid on gfx12+
-# GFX12: [[@LINE+1]]:1: warning: invalid instruction encoding
+# GFX12-ERR: [[@LINE+1]]:1: warning: invalid instruction encoding
 0x00,0x00,0x56,0xd8,0x00,0x01,0x00,0x00
 
 # this is image_msaa_load where samp field for gfx12 VSAMPLE is not all zeros
-# GFX12: [[@LINE+1]]:1: warning: invalid instruction encoding
+# GFX12-ERR: [[@LINE+1]]:1: warning: invalid instruction encoding
 0x06,0x00,0x46,0xe4,0x01,0x10,0x80,0x00,0x05,0x06,0x07,0x00
 
 # This is ds_read_b32 with gds bit which is not valid on gfx90a.
----------------
jayfoad wrote:

Yes, I noticed that recently thanks to `filecheck_lint.py`. If you add a RUN line for gfx90a, the check fails. It needs more investigation.

https://github.com/llvm/llvm-project/pull/96621


More information about the llvm-commits mailing list