[llvm] 70748dc - [AMDGPU] Fix GFX90A/GFX940 check prefix typos

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 02:16:33 PDT 2024


Author: Jay Foad
Date: 2024-06-20T10:14:42+01:00
New Revision: 70748dcbe0ab48a1d9e4609fe73dfb9ab5ad36c1

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

LOG: [AMDGPU] Fix GFX90A/GFX940 check prefix typos

Added: 
    

Modified: 
    llvm/test/MC/AMDGPU/mai-gfx90a.s
    llvm/test/MC/Disassembler/AMDGPU/gfx90a_mai.txt

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/AMDGPU/mai-gfx90a.s b/llvm/test/MC/AMDGPU/mai-gfx90a.s
index 176854e678322..ebca7a6d6c630 100644
--- a/llvm/test/MC/AMDGPU/mai-gfx90a.s
+++ b/llvm/test/MC/AMDGPU/mai-gfx90a.s
@@ -28,7 +28,7 @@ v_accvgpr_mov_b32 a1, a2
 // GFX90A: v_accvgpr_mov_b32 a1, a2        ; encoding: [0x02,0xa5,0x02,0x7e]
 
 v_accvgpr_write_b32 a10, s20
-// GFX940: v_accvgpr_write_b32 a10, s20    ; encoding: [0x0a,0x40,0xd9,0xd3,0x14,0x00,0x00,0x18]
+// GFX90A: v_accvgpr_write_b32 a10, s20    ; encoding: [0x0a,0x40,0xd9,0xd3,0x14,0x00,0x00,0x18]
 
 v_mfma_f32_32x32x1f32 a[0:31], v0, v1, a[34:65]
 // GFX90A: v_mfma_f32_32x32x1f32 a[0:31], v0, v1, a[34:65] ; encoding: [0x00,0x80,0xc0,0xd3,0x00,0x03,0x8a,0x04]

diff  --git a/llvm/test/MC/Disassembler/AMDGPU/gfx90a_mai.txt b/llvm/test/MC/Disassembler/AMDGPU/gfx90a_mai.txt
index eca0ee57ef8b0..f05772ff1789a 100644
--- a/llvm/test/MC/Disassembler/AMDGPU/gfx90a_mai.txt
+++ b/llvm/test/MC/Disassembler/AMDGPU/gfx90a_mai.txt
@@ -21,7 +21,7 @@
 # GFX90A: v_accvgpr_mov_b32 a1, a2 ; encoding: [0x02,0xa5,0x02,0x7e]
 0x02,0xa5,0x02,0x7e
 
-# GFX940: v_accvgpr_write_b32 a10, s20 ; encoding: [0x0a,0x40,0xd9,0xd3,0x14,0x00,0x00,0x18]
+# GFX90A: v_accvgpr_write_b32 a10, s20 ; encoding: [0x0a,0x40,0xd9,0xd3,0x14,0x00,0x00,0x18]
 0x0a,0x40,0xd9,0xd3,0x14,0x00,0x00,0x18
 
 # GFX90A: v_mfma_f32_32x32x1f32 a[0:31], v0, v1, a[2:33] ; encoding: [0x00,0x80,0xc0,0xd3,0x00,0x03,0x0a,0x04]


        


More information about the llvm-commits mailing list