[llvm] cb8f910 - [AMDGPU] Do not test both wave sizes for DSDIR disassembly (#81719)

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 02:15:10 PST 2024


Author: Jay Foad
Date: 2024-02-14T10:15:06Z
New Revision: cb8f910035e45bf6c30a61f74015c0dba5842747

URL: https://github.com/llvm/llvm-project/commit/cb8f910035e45bf6c30a61f74015c0dba5842747
DIFF: https://github.com/llvm/llvm-project/commit/cb8f910035e45bf6c30a61f74015c0dba5842747.diff

LOG: [AMDGPU] Do not test both wave sizes for DSDIR disassembly (#81719)

There is nothing in these instruction definitions that depends on wave
size so testing both seems like overkill. The corresponding assembler
tests do not do it.

Added: 
    

Modified: 
    llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_ldsdir.txt
    llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vdsdir.txt

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_ldsdir.txt b/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_ldsdir.txt
index d9803fdfd7ac2a..0dd97bc0b50da7 100644
--- a/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_ldsdir.txt
+++ b/llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_ldsdir.txt
@@ -1,5 +1,4 @@
 # RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -disassemble -show-encoding < %s | FileCheck -check-prefix=GFX11 %s
-# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=-WavefrontSize32,+WavefrontSize64 -disassemble -show-encoding < %s | FileCheck -check-prefix=GFX11 %s
 
 # GFX11: lds_direct_load v10 wait_vdst:6         ; encoding: [0x0a,0x00,0x16,0xce]
 0x0a,0x00,0x16,0xce

diff  --git a/llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vdsdir.txt b/llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vdsdir.txt
index b7c0394429dc3b..705dd643812418 100644
--- a/llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vdsdir.txt
+++ b/llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vdsdir.txt
@@ -1,5 +1,4 @@
 # RUN: llvm-mc -arch=amdgcn -mcpu=gfx1200 -disassemble -show-encoding < %s | FileCheck --strict-whitespace -check-prefix=GFX12 %s
-# RUN: llvm-mc -arch=amdgcn -mcpu=gfx1200 -mattr=-WavefrontSize32,+WavefrontSize64 -disassemble -show-encoding < %s | FileCheck --strict-whitespace -check-prefix=GFX12 %s
 
 # GFX12: ds_direct_load v10 wait_va_vdst:6 wait_vm_vsrc:0 ; encoding: [0x0a,0x00,0x16,0xce]
 0x0a,0x00,0x16,0xce


        


More information about the llvm-commits mailing list