[llvm-branch-commits] [llvm] AMDGPU: Migrate assembler tests to subarch triples with error changes (PR #211592)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 23 08:50:41 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Matt Arsenault (arsenm)
<details>
<summary>Changes</summary>
Since these cases dropped the -mcpu argument, the error messages changed
to use the canonical name.
---
Patch is 536.79 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/211592.diff
10 Files Affected:
- (modified) llvm/test/MC/AMDGPU/add-sub-no-carry.s (+24-24)
- (modified) llvm/test/MC/AMDGPU/buffer-op-swz-operand.s (+2-2)
- (modified) llvm/test/MC/AMDGPU/ds-gfx9.s (+12-12)
- (modified) llvm/test/MC/AMDGPU/flat-scratch-st-mode.s (+28-28)
- (modified) llvm/test/MC/AMDGPU/gfx7_unsupported.s (+864-864)
- (modified) llvm/test/MC/AMDGPU/gfx8_unsupported.s (+614-614)
- (modified) llvm/test/MC/AMDGPU/literals.s (+224-224)
- (modified) llvm/test/MC/AMDGPU/mubuf-gfx9.s (+23-23)
- (modified) llvm/test/MC/AMDGPU/reg-syntax-extra.s (+13-13)
- (modified) llvm/test/MC/AMDGPU/vopc-vi.s (+135-135)
``````````diff
diff --git a/llvm/test/MC/AMDGPU/add-sub-no-carry.s b/llvm/test/MC/AMDGPU/add-sub-no-carry.s
index 48963596a60a0..435cecac247ff 100644
--- a/llvm/test/MC/AMDGPU/add-sub-no-carry.s
+++ b/llvm/test/MC/AMDGPU/add-sub-no-carry.s
@@ -1,8 +1,8 @@
// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6
-// RUN: llvm-mc -triple=amdgcn -mcpu=gfx900 -show-encoding %s | FileCheck --check-prefix=GFX9 %s
+// RUN: llvm-mc -triple=amdgpu9.00 -show-encoding %s | FileCheck --check-prefix=GFX9 %s
-// RUN: not llvm-mc -triple=amdgcn -mcpu=fiji %s -filetype=null 2>&1 | FileCheck --check-prefix=ERR-VI --implicit-check-not=error: %s
-// RUN: not llvm-mc -triple=amdgcn -mcpu=bonaire %s -filetype=null 2>&1 | FileCheck --check-prefix=ERR-SICI --implicit-check-not=error: %s
+// RUN: not llvm-mc -triple=amdgpu8.03 %s -filetype=null 2>&1 | FileCheck --check-prefix=ERR-VI --implicit-check-not=error: %s
+// RUN: not llvm-mc -triple=amdgpu7.04 %s -filetype=null 2>&1 | FileCheck --check-prefix=ERR-SICI --implicit-check-not=error: %s
// FIXME: pre-gfx9 errors should be more useful
@@ -10,107 +10,107 @@
v_add_u32 v1, 4.0, v2
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e32 v1, 4.0, v2 ; encoding: [0xf6,0x04,0x02,0x68]
v_add_u32 v1, s1, v2
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e32 v1, s1, v2 ; encoding: [0x01,0x04,0x02,0x68]
v_add_u32 v1, v2, 4.0
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e64 v1, v2, 4.0 ; encoding: [0x01,0x00,0x34,0xd1,0x02,0xed,0x01,0x00]
v_add_u32 v1, v2, s1
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e64 v1, v2, s1 ; encoding: [0x01,0x00,0x34,0xd1,0x02,0x03,0x00,0x00]
v_add_u32 v1, v2, v3
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x68]
v_add_u32_e32 v1, s1, v3
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e32 v1, s1, v3 ; encoding: [0x01,0x06,0x02,0x68]
v_add_u32_e32 v1, v2, v3
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_add_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_add_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_add_u32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x68]
v_sub_u32 v1, 4.0, v2
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e32 v1, 4.0, v2 ; encoding: [0xf6,0x04,0x02,0x6a]
v_sub_u32 v1, s1, v2
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e32 v1, s1, v2 ; encoding: [0x01,0x04,0x02,0x6a]
v_sub_u32 v1, v2, 4.0
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e64 v1, v2, 4.0 ; encoding: [0x01,0x00,0x35,0xd1,0x02,0xed,0x01,0x00]
v_sub_u32 v1, v2, s1
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e64 v1, v2, s1 ; encoding: [0x01,0x00,0x35,0xd1,0x02,0x03,0x00,0x00]
v_sub_u32 v1, v2, v3
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x6a]
v_sub_u32_e32 v1, s1, v3
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e32 v1, s1, v3 ; encoding: [0x01,0x06,0x02,0x6a]
v_sub_u32_e32 v1, v2, v3
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_sub_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_sub_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_sub_u32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x6a]
v_subrev_u32 v1, 4.0, v2
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e32 v1, 4.0, v2 ; encoding: [0xf6,0x04,0x02,0x6c]
v_subrev_u32 v1, s1, v2
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e32 v1, s1, v2 ; encoding: [0x01,0x04,0x02,0x6c]
v_subrev_u32 v1, v2, 4.0
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e64 v1, v2, 4.0 ; encoding: [0x01,0x00,0x36,0xd1,0x02,0xed,0x01,0x00]
v_subrev_u32 v1, v2, s1
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e64 v1, v2, s1 ; encoding: [0x01,0x00,0x36,0xd1,0x02,0x03,0x00,0x00]
v_subrev_u32 v1, v2, v3
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x6c]
v_subrev_u32_e32 v1, s1, v3
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e32 v1, s1, v3 ; encoding: [0x01,0x06,0x02,0x6c]
v_subrev_u32_e32 v1, v2, v3
-// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (bonaire): v_subrev_u32
+// ERR-SICI: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx704): v_subrev_u32
// ERR-VI: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
// GFX9: v_subrev_u32_e32 v1, v2, v3 ; encoding: [0x02,0x07,0x02,0x6c]
diff --git a/llvm/test/MC/AMDGPU/buffer-op-swz-operand.s b/llvm/test/MC/AMDGPU/buffer-op-swz-operand.s
index 899e136f93735..4b00551c99095 100644
--- a/llvm/test/MC/AMDGPU/buffer-op-swz-operand.s
+++ b/llvm/test/MC/AMDGPU/buffer-op-swz-operand.s
@@ -1,6 +1,6 @@
-// RUN: llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx1100 --show-inst < %s | FileCheck %s
+// RUN: llvm-mc -triple=amdgpu11.00-amd-amdhsa --show-inst < %s | FileCheck %s
-// CHECK: .amdgcn_target "amdgcn-amd-amdhsa-unknown-gfx1100"
+// CHECK: .amdgcn_target "amdgpu11.00-amd-amdhsa-unknown-gfx1100"
buffer_load_dwordx4 v[0:3], v0, s[0:3], 0, offen offset:4092 slc
// CHECK: buffer_load_b128 v[0:3], v0, s[0:3], 0 offen offset:4092 slc ; <MCInst #{{[0-9]+}} BUFFER_LOAD_DWORDX4_OFFEN_gfx11
// CHECK-NEXT: ; <MCOperand Reg:VGPR0_VGPR1_VGPR2_VGPR3>
diff --git a/llvm/test/MC/AMDGPU/ds-gfx9.s b/llvm/test/MC/AMDGPU/ds-gfx9.s
index 3e073afed770e..9f30645f3dd7a 100644
--- a/llvm/test/MC/AMDGPU/ds-gfx9.s
+++ b/llvm/test/MC/AMDGPU/ds-gfx9.s
@@ -1,43 +1,43 @@
// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6
-// RUN: llvm-mc -triple=amdgcn -mcpu=gfx900 -show-encoding %s | FileCheck -check-prefix=GFX9 %s
-// RUN: not llvm-mc -triple=amdgcn -mcpu=tonga -filetype=null 2>&1 %s | FileCheck -check-prefix=VI-ERR --implicit-check-not=error: %s
+// RUN: llvm-mc -triple=amdgpu9.00 -show-encoding %s | FileCheck -check-prefix=GFX9 %s
+// RUN: not llvm-mc -triple=amdgpu8.02 -filetype=null 2>&1 %s | FileCheck -check-prefix=VI-ERR --implicit-check-not=error: %s
ds_read_addtid_b32 v8
// GFX9: ds_read_addtid_b32 v8 ; encoding: [0x00,0x00,0x6c,0xd9,0x00,0x00,0x00,0x08]
-// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (tonga): ds_read_addtid_b32
+// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (gfx802): ds_read_addtid_b32
ds_read_i8_d16 v8, v2
// GFX9: ds_read_i8_d16 v8, v2 ; encoding: [0x00,0x00,0xb0,0xd8,0x02,0x00,0x00,0x08]
-// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (tonga): ds_read_i8_d16
+// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (gfx802): ds_read_i8_d16
ds_read_i8_d16_hi v8, v2
// GFX9: ds_read_i8_d16_hi v8, v2 ; encoding: [0x00,0x00,0xb2,0xd8,0x02,0x00,0x00,0x08]
-// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (tonga): ds_read_i8_d16_hi
+// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (gfx802): ds_read_i8_d16_hi
ds_read_u16_d16 v8, v2
// GFX9: ds_read_u16_d16 v8, v2 ; encoding: [0x00,0x00,0xb4,0xd8,0x02,0x00,0x00,0x08]
-// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (tonga): ds_read_u16_d16
+// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (gfx802): ds_read_u16_d16
ds_read_u16_d16_hi v8, v2
// GFX9: ds_read_u16_d16_hi v8, v2 ; encoding: [0x00,0x00,0xb6,0xd8,0x02,0x00,0x00,0x08]
-// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (tonga): ds_read_u16_d16_hi
+// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (gfx802): ds_read_u16_d16_hi
ds_read_u8_d16 v8, v2
// GFX9: ds_read_u8_d16 v8, v2 ; encoding: [0x00,0x00,0xac,0xd8,0x02,0x00,0x00,0x08]
-// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (tonga): ds_read_u8_d16
+// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (gfx802): ds_read_u8_d16
ds_read_u8_d16_hi v8, v2
// GFX9: ds_read_u8_d16_hi v8, v2 ; encoding: [0x00,0x00,0xae,0xd8,0x02,0x00,0x00,0x08]
-// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (tonga): ds_read_u8_d16_hi
+// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (gfx802): ds_read_u8_d16_hi
ds_write_addtid_b32 v8
// GFX9: ds_write_addtid_b32 v8 ; encoding: [0x00,0x00,0x3a,0xd8,0x00,0x08,0x00,0x00]
-// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (tonga): ds_write_addtid_b32
+// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (gfx802): ds_write_addtid_b32
ds_write_b16_d16_hi v8, v2
// GFX9: ds_write_b16_d16_hi v8, v2 ; encoding: [0x00,0x00,0xaa,0xd8,0x08,0x02,0x00,0x00]
-// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (tonga): ds_write_b16_d16_hi
+// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (gfx802): ds_write_b16_d16_hi
ds_write_b8_d16_hi v8, v2
// GFX9: ds_write_b8_d16_hi v8, v2 ; encoding: [0x00,0x00,0xa8,0xd8,0x08,0x02,0x00,0x00]
-// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (tonga): ds_write_b8_d16_hi
+// VI-ERR: :[[@LINE-2]]:1: error: instruction not supported on this GPU (gfx802): ds_write_b8_d16_hi
diff --git a/llvm/test/MC/AMDGPU/flat-scratch-st-mode.s b/llvm/test/MC/AMDGPU/flat-scratch-st-mode.s
index a672149482952..f3f45dcccacec 100644
--- a/llvm/test/MC/AMDGPU/flat-scratch-st-mode.s
+++ b/llvm/test/MC/AMDGPU/flat-scratch-st-mode.s
@@ -1,129 +1,129 @@
// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --unique --sort --version 6
-// RUN: not llvm-mc -triple=amdgcn -mcpu=tonga -filetype=null 2>&1 %s | FileCheck -check-prefix=VI-ERR --implicit-check-not=error: %s
-// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900 -filetype=null 2>&1 %s | FileCheck -check-prefixes=GFX9-ERR,GFX9_10-ERR --implicit-check-not=error: %s
-// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1010 -filetype=null 2>&1 %s | FileCheck --check-prefixes=GFX1010-ERR,GFX9_10-ERR --implicit-check-not=error: %s
-// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1030 -show-encoding %s | FileCheck --check-prefixes=GFX1030 %s
+// RUN: not llvm-mc -triple=amdgpu8.02 -filetype=null 2>&1 %s | FileCheck -check-prefix=VI-ERR --implicit-check-not=error: %s
+// RUN: not llvm-mc -triple=amdgpu9.00 -filetype=null 2>&1 %s | FileCheck -check-prefixes=GFX9-ERR,GFX9_10-ERR --implicit-check-not=error: %s
+// RUN: not llvm-mc -triple=amdgpu10.10 -filetype=null 2>&1 %s | FileCheck --check-prefixes=GFX1010-ERR,GFX9_10-ERR --implicit-check-not=error: %s
+// RUN: llvm-mc -triple=amdgpu10.30 -show-encoding %s | FileCheck --check-prefixes=GFX1030 %s
scratch_load_dword v1, off, off
// GFX1030: scratch_load_dword v1, off, off ; encoding: [0x00,0x40,0x30,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
-// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_dword
+// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx802): scratch_load_dword
scratch_load_dword v1, off, off offset:2047
// GFX1030: scratch_load_dword v1, off, off offset:2047 ; encoding: [0xff,0x47,0x30,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
-// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_dword
+// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx802): scratch_load_dword
scratch_load_dwordx2 v[1:2], off, off
// GFX1030: scratch_load_dwordx2 v[1:2], off, off ; encoding: [0x00,0x40,0x34,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
-// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_dwordx2
+// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx802): scratch_load_dwordx2
scratch_load_dwordx3 v[1:3], off, off
// GFX1030: scratch_load_dwordx3 v[1:3], off, off ; encoding: [0x00,0x40,0x3c,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
-// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_dwordx3
+// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx802): scratch_load_dwordx3
scratch_load_dwordx4 v[1:4], off, off
// GFX1030: scratch_load_dwordx4 v[1:4], off, off ; encoding: [0x00,0x40,0x38,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
-// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_dwordx4
+// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx802): scratch_load_dwordx4
scratch_load_sbyte v1, off, off
// GFX1030: scratch_load_sbyte v1, off, off ; encoding: [0x00,0x40,0x24,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
-// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_sbyte
+// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx802): scratch_load_sbyte
scratch_load_sbyte_d16 v1, off, off
// GFX1030: scratch_load_sbyte_d16 v1, off, off ; encoding: [0x00,0x40,0x88,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
-// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_sbyte_d16
+// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx802): scratch_load_sbyte_d16
scratch_load_sbyte_d16_hi v1, off, off
// GFX1030: scratch_load_sbyte_d16_hi v1, off, off ; encoding: [0x00,0x40,0x8c,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
-// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_sbyte_d16_hi
+// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx802): scratch_load_sbyte_d16_hi
scratch_load_short_d16 v1, off, off
// GFX1030: scratch_load_short_d16 v1, off, off ; encoding: [0x00,0x40,0x90,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
-// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_short_d16
+// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx802): scratch_load_short_d16
scratch_load_short_d16_hi v1, off, off
// GFX1030: scratch_load_short_d16_hi v1, off, off ; encoding: [0x00,0x40,0x94,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
-// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_short_d16_hi
+// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx802): scratch_load_short_d16_hi
scratch_load_sshort v1, off, off
// GFX1030: scratch_load_sshort v1, off, off ; encoding: [0x00,0x40,0x2c,0xdc,0x00,0x00,0x7f,0x01]
// GFX9_10-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
-// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (tonga): scratch_load_sshort
+// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU (gfx802): scratch_load_ss...
[truncated]
``````````
</details>
https://github.com/llvm/llvm-project/pull/211592
More information about the llvm-branch-commits
mailing list