[llvm] [AMDGPU] Fix incorrect check prefixes in some MC tests (PR #185015)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 6 06:48:59 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Jay Foad (jayfoad)
<details>
<summary>Changes</summary>
Found using utils/filecheck_lint/filecheck_lint.py
---
Patch is 50.81 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/185015.diff
4 Files Affected:
- (modified) llvm/test/MC/AMDGPU/gfx1250_asm_sopp.s (+1-1)
- (modified) llvm/test/MC/AMDGPU/gfx12_asm_vop2-fake16.s (+2-2)
- (modified) llvm/test/MC/AMDGPU/gfx12_asm_vop2.s (+2-2)
- (modified) llvm/test/MC/AMDGPU/literals.s (-92)
``````````diff
diff --git a/llvm/test/MC/AMDGPU/gfx1250_asm_sopp.s b/llvm/test/MC/AMDGPU/gfx1250_asm_sopp.s
index 78bb59af75c1d..cac9c1d9d796b 100644
--- a/llvm/test/MC/AMDGPU/gfx1250_asm_sopp.s
+++ b/llvm/test/MC/AMDGPU/gfx1250_asm_sopp.s
@@ -62,7 +62,7 @@ s_monitor_sleep 0
// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
s_sendmsg_rtn_b32 s1, sendmsg(MSG_RTN_SAVE_WAVE_HAS_TDM) ; encoding: [0x0a,0x00,0xb6,0xbf]
-// GFX12: s_sendmsg_rtn_b32 s1, sendmsg(MSG_RTN_SAVE_WAVE_HAS_TDM) ; encoding: [0x98,0x4c,0x81,0xbe]
+// GFX1250: s_sendmsg_rtn_b32 s1, sendmsg(MSG_RTN_SAVE_WAVE_HAS_TDM) ; encoding: [0x98,0x4c,0x81,0xbe]
// GFX12-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: specified message id is not supported on this GPU
s_sendmsg sendmsg(MSG_RTN_SAVE_WAVE_HAS_TDM) ; encoding: [0x0a,0x00,0xb6,0xbf]
diff --git a/llvm/test/MC/AMDGPU/gfx12_asm_vop2-fake16.s b/llvm/test/MC/AMDGPU/gfx12_asm_vop2-fake16.s
index c535adea8b821..2ddb9a16c75da 100644
--- a/llvm/test/MC/AMDGPU/gfx12_asm_vop2-fake16.s
+++ b/llvm/test/MC/AMDGPU/gfx12_asm_vop2-fake16.s
@@ -1922,10 +1922,10 @@ v_pk_fmac_f16 v5, -1, v2
// GFX12: v_pk_fmac_f16 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x78]
v_pk_fmac_f16 v5, 0.5, v2
-// GFX11: v_pk_fmac_f16 v5, 0.5, v2 ; encoding: [0xff,0x04,0x0a,0x78,0x00,0x38,0x00,0x00]
+// GFX12: v_pk_fmac_f16 v5, 0x3800, v2 ; encoding: [0xff,0x04,0x0a,0x78,0x00,0x38,0x00,0x00]
v_pk_fmac_f16 v5, 0x38003800, v2
-// GFX11: v_pk_fmac_f16 v5, 0x38003800, v2 ; encoding: [0xf0,0x04,0x0a,0x78]
+// GFX12: v_pk_fmac_f16 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x78]
v_pk_fmac_f16 v5, exec_hi, v2
// GFX12: v_pk_fmac_f16 v5, exec_hi, v2 ; encoding: [0x7f,0x04,0x0a,0x78]
diff --git a/llvm/test/MC/AMDGPU/gfx12_asm_vop2.s b/llvm/test/MC/AMDGPU/gfx12_asm_vop2.s
index 828430d2b2b95..d051d48e928f0 100644
--- a/llvm/test/MC/AMDGPU/gfx12_asm_vop2.s
+++ b/llvm/test/MC/AMDGPU/gfx12_asm_vop2.s
@@ -2048,10 +2048,10 @@ v_pk_fmac_f16 v5, -1, v2
// GFX12: v_pk_fmac_f16 v5, -1, v2 ; encoding: [0xc1,0x04,0x0a,0x78]
v_pk_fmac_f16 v5, 0.5, v2
-// GFX11: v_pk_fmac_f16 v5, 0.5, v2 ; encoding: [0xff,0x04,0x0a,0x78,0x00,0x38,0x00,0x00]
+// GFX12: v_pk_fmac_f16 v5, 0x3800, v2 ; encoding: [0xff,0x04,0x0a,0x78,0x00,0x38,0x00,0x00]
v_pk_fmac_f16 v5, 0x38003800, v2
-// GFX11: v_pk_fmac_f16 v5, 0x38003800, v2 ; encoding: [0xf0,0x04,0x0a,0x78]
+// GFX12: v_pk_fmac_f16 v5, 0.5, v2 ; encoding: [0xf0,0x04,0x0a,0x78]
v_pk_fmac_f16 v5, src_scc, v2
// GFX12: v_pk_fmac_f16 v5, src_scc, v2 ; encoding: [0xfd,0x04,0x0a,0x78]
diff --git a/llvm/test/MC/AMDGPU/literals.s b/llvm/test/MC/AMDGPU/literals.s
index a96e9c4c07873..129b87bc6a582 100644
--- a/llvm/test/MC/AMDGPU/literals.s
+++ b/llvm/test/MC/AMDGPU/literals.s
@@ -100,7 +100,6 @@ v_fract_f64 v[0:1], -3.1415
// NOGFX89: :[[@LINE-7]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
// NOSICI: :[[@LINE-8]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
// SICI: v_fract_f64_e32 v[0:1], 0xc00921ca ; encoding: [0xff,0x7c,0x00,0x7e,0xca,0x21,0x09,0xc0]
-// NOSICIVI: :[[@LINE-3]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
v_trunc_f32 v0, -3.1415
// GFX11: v_trunc_f32_e32 v0, 0xc0490e56 ; encoding: [0xff,0x42,0x00,0x7e,0x56,0x0e,0x49,0xc0]
@@ -118,7 +117,6 @@ v_fract_f64 v[0:1], 100000000000000000000000.0
// NOGFX89: :[[@LINE-7]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
// NOSICI: :[[@LINE-8]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
// SICI: v_fract_f64_e32 v[0:1], 0x44b52d02 ; encoding: [0xff,0x7c,0x00,0x7e,0x02,0x2d,0xb5,0x44]
-// NOSICIVI: :[[@LINE-3]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
v_trunc_f32 v0, 100000000000000000000000.0
// GFX11: v_trunc_f32_e32 v0, 0x65a96816 ; encoding: [0xff,0x42,0x00,0x7e,0x16,0x68,0xa9,0x65]
@@ -148,7 +146,6 @@ v_fract_f64 v[0:1], 3.402823e+38
// NOGFX89: :[[@LINE-7]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
// NOSICI: :[[@LINE-8]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
// SICI: v_fract_f64_e32 v[0:1], 0x47efffff ; encoding: [0xff,0x7c,0x00,0x7e,0xff,0xff,0xef,0x47]
-// NOSICIVI: :[[@LINE-3]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
v_trunc_f32 v0, 3.402823e+38
// GFX11: v_trunc_f32_e32 v0, 0x7f7ffffd ; encoding: [0xff,0x42,0x00,0x7e,0xfd,0xff,0x7f,0x7f]
@@ -166,7 +163,6 @@ v_fract_f64 v[0:1], 2.3509886e-38
// NOGFX89: :[[@LINE-7]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
// NOSICI: :[[@LINE-8]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
// SICI: v_fract_f64_e32 v[0:1], 0x381fffff ; encoding: [0xff,0x7c,0x00,0x7e,0xff,0xff,0x1f,0x38]
-// NOSICIVI: :[[@LINE-3]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
v_trunc_f32 v0, 2.3509886e-38
// GFX11: v_trunc_f32_e32 v0, 0xffffff ; encoding: [0xff,0x42,0x00,0x7e,0xff,0xff,0xff,0x00]
@@ -184,7 +180,6 @@ v_fract_f64 v[0:1], 2.3509886e-70
// NOGFX89: :[[@LINE-7]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
// NOSICI: :[[@LINE-8]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
// SICI: v_fract_f64_e32 v[0:1], 0x3179f623 ; encoding: [0xff,0x7c,0x00,0x7e,0x23,0xf6,0x79,0x31]
-// NOSICIVI: :[[@LINE-3]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
v_trunc_f32 v0, 2.3509886e-70
// NOGCN: :[[@LINE-1]]:17: error: invalid operand for instruction
@@ -587,14 +582,12 @@ v_trunc_f32_e64 v0, 1234
// GFX12XX: v_trunc_f32_e64 v0, 0x4d2 ; encoding: [0x00,0x00,0xa1,0xd5,0xff,0x00,0x01,0x02,0xd2,0x04,0x00,0x00]
// NOGFX89: :[[@LINE-3]]:21: error: literal operands are not supported
// NOSICI: :[[@LINE-4]]:21: error: literal operands are not supported
-// NOSICIVI: :[[@LINE-1]]:21: error: literal operands are not supported
v_fract_f64_e64 v[0:1], 1234
// GFX11: v_fract_f64_e64 v[0:1], 0x4d2 ; encoding: [0x00,0x00,0xbe,0xd5,0xff,0x00,0x01,0x02,0xd2,0x04,0x00,0x00]
// GFX12XX: v_fract_f64_e64 v[0:1], 0x4d2 ; encoding: [0x00,0x00,0xbe,0xd5,0xff,0x00,0x01,0x02,0xd2,0x04,0x00,0x00]
// NOGFX89: :[[@LINE-3]]:25: error: literal operands are not supported
// NOSICI: :[[@LINE-4]]:25: error: literal operands are not supported
-// NOSICIVI: :[[@LINE-1]]:25: error: literal operands are not supported
v_trunc_f32_e32 v0, -54321
// GFX11: v_trunc_f32_e32 v0, 0xffff2bcf ; encoding: [0xff,0x42,0x00,0x7e,0xcf,0x2b,0xff,0xff]
@@ -641,7 +634,6 @@ v_fract_f64_e32 v[0:1], 0x123456789abcdef0
// NOGFX12: :[[@LINE-3]]:25: error: invalid operand for instruction
// NOGFX89: :[[@LINE-4]]:25: error: invalid operand for instruction
// NOSICI: :[[@LINE-5]]:25: error: invalid operand for instruction
-// NOSICIVI: :[[@LINE-1]]:25: error: invalid operand for instruction
v_trunc_f32_e32 v0, 0xffffffffffffffff
// GFX11: v_trunc_f32_e32 v0, -1 ; encoding: [0xc1,0x42,0x00,0x7e]
@@ -819,7 +811,6 @@ v_and_b32_e64 v0, 1234, v1
// GFX12XX: v_and_b32_e64 v0, 0x4d2, v1 ; encoding: [0x00,0x00,0x1b,0xd5,0xff,0x02,0x02,0x02,0xd2,0x04,0x00,0x00]
// NOGFX89: :[[@LINE-3]]:19: error: literal operands are not supported
// NOSICI: :[[@LINE-4]]:19: error: literal operands are not supported
-// NOSICIVI: :[[@LINE-1]]:19: error: literal operands are not supported
s_mov_b64_e32 s[0:1], -54321
// GFX11: s_mov_b64 s[0:1], 0xffff2bcf ; encoding: [0xff,0x01,0x80,0xbe,0xcf,0x2b,0xff,0xff]
@@ -868,7 +859,6 @@ s_mov_b64_e32 s[0:1], 0x123456789abcdef0
// NOGFX12: :[[@LINE-3]]:23: error: invalid operand for instruction
// NOGFX89: :[[@LINE-4]]:23: error: invalid operand for instruction
// NOSICI: :[[@LINE-5]]:23: error: invalid operand for instruction
-// NOSICIVI: :[[@LINE-1]]:23: error: invalid operand for instruction
v_and_b32_e32 v0, 0x123456789abcdef0, v1
// NOGCN: :[[@LINE-1]]:19: error: invalid operand for instruction
@@ -961,7 +951,6 @@ v_fract_f64_e32 v[0:1], 0x3fc45f306dc9c882
// GFX12XX: v_fract_f64_e32 v[0:1], 0.15915494309189532 ; encoding: [0xf8,0x7c,0x00,0x7e]
// GFX89: v_fract_f64_e32 v[0:1], 0.15915494309189532 ; encoding: [0xf8,0x64,0x00,0x7e]
// NOSICI: :[[@LINE-4]]:25: error: invalid operand for instruction
-// NOSICIVI: :[[@LINE-2]]:25: error: invalid operand for instruction
v_trunc_f32_e32 v0, 0x3e22f983
// GFX11: v_trunc_f32_e32 v0, 0.15915494 ; encoding: [0xf8,0x42,0x00,0x7e]
@@ -983,26 +972,22 @@ v_fract_f64_e64 v[0:1], 0x3fc45f306dc9c882
// GFX12XX: v_fract_f64_e64 v[0:1], 0.15915494309189532 ; encoding: [0x00,0x00,0xbe,0xd5,0xf8,0x00,0x01,0x02]
// GFX89: v_fract_f64_e64 v[0:1], 0.15915494309189532 ; encoding: [0x00,0x00,0x72,0xd1,0xf8,0x00,0x00,0x00]
// NOSICI: :[[@LINE-4]]:25: error: invalid operand for instruction
-// NOSICIVI: :[[@LINE-2]]:25: error: invalid operand for instruction
v_trunc_f32_e64 v0, 0x3e22f983
// GFX11: v_trunc_f32_e64 v0, 0.15915494 ; encoding: [0x00,0x00,0xa1,0xd5,0xf8,0x00,0x01,0x02]
// GFX12XX: v_trunc_f32_e64 v0, 0.15915494 ; encoding: [0x00,0x00,0xa1,0xd5,0xf8,0x00,0x01,0x02]
// GFX89: v_trunc_f32_e64 v0, 0.15915494 ; encoding: [0x00,0x00,0x5c,0xd1,0xf8,0x00,0x00,0x00]
// NOSICI: :[[@LINE-4]]:21: error: literal operands are not supported
-// NOSICIVI: :[[@LINE-2]]:21: error: literal operands are not supported
v_fract_f64_e64 v[0:1], 0x3e22f983
// GFX11: v_fract_f64_e64 v[0:1], 0x3e22f983 ; encoding: [0x00,0x00,0xbe,0xd5,0xff,0x00,0x01,0x02,0x83,0xf9,0x22,0x3e]
// GFX12XX: v_fract_f64_e64 v[0:1], 0x3e22f983 ; encoding: [0x00,0x00,0xbe,0xd5,0xff,0x00,0x01,0x02,0x83,0xf9,0x22,0x3e]
// NOGFX89: :[[@LINE-3]]:25: error: literal operands are not supported
// NOSICI: :[[@LINE-4]]:25: error: literal operands are not supported
-// NOSICIVI: :[[@LINE-1]]:25: error: literal operands are not supported
s_mov_b64_e32 s[0:1], 0.159154943091895317852646485335
// GFX8PLUS: s_mov_b64 s[0:1], 0.15915494309189532 ; encoding: [0xf8,0x01,0x80,0xbe]
// NOSICI: :[[@LINE-2]]:23: error: invalid operand for instruction
-// NOSICIVI: :[[@LINE-2]]:23: error: invalid operand for instruction
v_and_b32_e32 v0, 0.159154943091895317852646485335, v1
// GFX11: v_and_b32_e32 v0, 0.15915494, v1 ; encoding: [0xf8,0x02,0x00,0x36]
@@ -1015,7 +1000,6 @@ v_and_b32_e64 v0, 0.159154943091895317852646485335, v1
// GFX12XX: v_and_b32_e64 v0, 0.15915494, v1 ; encoding: [0x00,0x00,0x1b,0xd5,0xf8,0x02,0x02,0x02]
// GFX89: v_and_b32_e64 v0, 0.15915494, v1 ; encoding: [0x00,0x00,0x13,0xd1,0xf8,0x02,0x02,0x00]
// NOSICI: :[[@LINE-4]]:19: error: literal operands are not supported
-// NOSICIVI: :[[@LINE-2]]:19: error: literal operands are not supported
v_fract_f64 v[0:1], 0.159154943091895317852646485335
// GFX11: v_fract_f64_e32 v[0:1], 0.15915494309189532 ; encoding: [0xf8,0x7c,0x00,0x7e]
@@ -1023,7 +1007,6 @@ v_fract_f64 v[0:1], 0.159154943091895317852646485335
// GFX89: v_fract_f64_e32 v[0:1], 0.15915494309189532 ; encoding: [0xf8,0x64,0x00,0x7e]
// NOSICI: :[[@LINE-4]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
// SICI: v_fract_f64_e32 v[0:1], 0x3fc45f30 ; encoding: [0xff,0x7c,0x00,0x7e,0x30,0x5f,0xc4,0x3f]
-// NOSICIVI: :[[@LINE-3]]:1: warning: Can't encode literal as exact 64-bit floating-point operand. Low 32-bits will be set to zero
v_trunc_f32 v0, 0.159154943091895317852646485335
// GFX11: v_trunc_f32_e32 v0, 0.15915494 ; encoding: [0xf8,0x42,0x00,0x7e]
@@ -1065,7 +1048,6 @@ s_mov_b64 s[0:1], 0x101ffffffff
// NOGFX12: :[[@LINE-3]]:19: error: invalid operand for instruction
// NOGFX89: :[[@LINE-4]]:19: error: invalid operand for instruction
// NOSICI: :[[@LINE-5]]:19: error: invalid operand for instruction
-// NOSICIVI: :[[@LINE-1]]:19: error: invalid operand for instruction
s_mov_b64 s[0:1], 0x1000000001
// GFX1250: s_mov_b64 s[0:1], 0x1000000001 ; encoding: [0xfe,0x01,0x80,0xbe,0x01,0x00,0x00,0x00,0x10,0x00,0x00,0x00]
@@ -1073,7 +1055,6 @@ s_mov_b64 s[0:1], 0x1000000001
// NOGFX12: :[[@LINE-3]]:19: error: invalid operand for instruction
// NOGFX89: :[[@LINE-4]]:19: error: invalid operand for instruction
// NOSICI: :[[@LINE-5]]:19: error: invalid operand for instruction
-// NOSICIVI: :[[@LINE-1]]:19: error: invalid operand for instruction
s_mov_b64 s[0:1], 0x1000000fff
// GFX1250: s_mov_b64 s[0:1], 0x1000000fff ; encoding: [0xfe,0x01,0x80,0xbe,0xff,0x0f,0x00,0x00,0x10,0x00,0x00,0x00]
@@ -1081,7 +1062,6 @@ s_mov_b64 s[0:1], 0x1000000fff
// NOGFX12: :[[@LINE-3]]:19: error: invalid operand for instruction
// NOGFX89: :[[@LINE-4]]:19: error: invalid operand for instruction
// NOSICI: :[[@LINE-5]]:19: error: invalid operand for instruction
-// NOSICIVI: :[[@LINE-1]]:19: error: invalid operand for instruction
v_trunc_f64 v[0:1], 0x1fffffffff0
// GFX1250: v_trunc_f64_e32 v[0:1], 0x1fffffffff0 ; encoding: [0xfe,0x2e,0x00,0x7e,0xf0,0xff,0xff,0xff,0xff,0x01,0x00,0x00]
@@ -1090,7 +1070,6 @@ v_trunc_f64 v[0:1], 0x1fffffffff0
// NOGFX12: :[[@LINE-4]]:21: error: invalid operand for instruction
// NOGFX89: :[[@LINE-5]]:21: error: invalid operand for instruction
// NOSI: :[[@LINE-6]]:1: error: instruction not supported on this GPU
-// NOCIVI: :[[@LINE-4]]:21: error: invalid operand for instruction
v_trunc_f64 v[0:1], 0x100000001
// GFX1250: v_trunc_f64_e32 v[0:1], 0x100000001 ; encoding: [0xfe,0x2e,0x00,0x7e,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00]
@@ -1099,7 +1078,6 @@ v_trunc_f64 v[0:1], 0x100000001
// NOGFX12: :[[@LINE-4]]:21: error: invalid operand for instruction
// NOGFX89: :[[@LINE-5]]:21: error: invalid operand for instruction
// NOSI: :[[@LINE-6]]:1: error: instruction not supported on this GPU
-// NOCIVI: :[[@LINE-4]]:21: error: invalid operand for instruction
v_trunc_f64 v[0:1], 0x1fffffff000
// GFX1250: v_trunc_f64_e32 v[0:1], 0x1fffffff000 ; encoding: [0xfe,0x2e,0x00,0x7e,0x00,0xf0,0xff,0xff,0xff,0x01,0x00,0x00]
@@ -1108,7 +1086,6 @@ v_trunc_f64 v[0:1], 0x1fffffff000
// NOGFX12: :[[@LINE-4]]:21: error: invalid operand for instruction
// NOGFX89: :[[@LINE-5]]:21: error: invalid operand for instruction
// NOSI: :[[@LINE-6]]:1: error: instruction not supported on this GPU
-// NOCIVI: :[[@LINE-4]]:21: error: invalid operand for instruction
//---------------------------------------------------------------------------//
// named inline values: scc, vccz, execz
@@ -1168,7 +1145,6 @@ v_add_u16 v0, vccz, v0
// NOGFX12: :[[@LINE-3]]:1: error: instruction not supported on this GPU
// NOGFX1250: :[[@LINE-4]]:1: error: instruction not supported on this GPU
// NOSICI: :[[@LINE-5]]:1: error: instruction not supported on this GPU
-// NOSICIVI: :[[@LINE-2]]:1: error: instruction not supported on this GPU
v_add_u16_sdwa v0, scc, v0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
// GFX9: v_add_u16_sdwa v0, src_scc, v0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0x00,0x00,0x4c,0xfd,0x06,0x86,0x06]
@@ -1177,7 +1153,6 @@ v_add_u16_sdwa v0, scc, v0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD sr
// NOGFX1250: :[[@LINE-4]]:1: error: instruction not supported on this GPU
// NOSICI: :[[@LINE-5]]:1: error: instruction not supported on this GPU
// NOVI: :[[@LINE-6]]:20: error: invalid operand for instruction
-// NOSICIVI: :[[@LINE-1]]:1: error: instruction not supported on this GPU
v_add_u16_sdwa v0, v0, scc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
// GFX9: v_add_u16_sdwa v0, v0, src_scc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD ; encoding: [0xf9,0xfa,0x01,0x4c,0x00,0x06,0x06,0x86]
@@ -1186,7 +1161,6 @@ v_add_u16_sdwa v0, v0, scc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD sr
// NOGFX1250: :[[@LINE-4]]:1: error: instruction not supported on this GPU
// NOSICI: :[[@LINE-5]]:1: error: instruction not supported on this GPU
// NOVI: :[[@LINE-6]]:24: error: invalid operand for instruction
-// NOSICIVI: :[[@LINE-1]]:1: error: instruction not supported on this GPU
v_add_u32 v0, execz, v0
// GFX9: v_add_u32_e32 v0, src_execz, v0 ; encoding: [0xfc,0x00,0x00,0x68]
@@ -1195,7 +1169,6 @@ v_add_u32 v0, execz, v0
// NOGFX1250: :[[@LINE-4]]:15: error: src_execz register not available on this GPU
// NOSICI: :[[@LINE-5]]:1: error: instruction not supported on this GPU
// NOVI: :[[@LINE-6]]:1: error: operands are not valid for this GPU or mode
-// NOSICIVI: :[[@LINE-1]]:1: error: instruction not supported on this GPU
v_add_u32_e64 v0, scc, v0
// GFX11: v_add_nc_u32_e64 v0, src_scc, v0 ; encoding: [0x00,0x00,0x25,0xd5,0xfd,0x00,0x02,0x02]
@@ -1203,7 +1176,6 @@ v_add_u32_e64 v0, scc, v0
// GFX9: v_add_u32_e64 v0, src_scc, v0 ; encoding: [0x00,0x00,0x34,0xd1,0xfd,0x00,0x02,0x00]
// NOSICI: :[[@LINE-4]]:1: error: instruction not supported on this GPU
// NOVI: :[[@LINE-5]]:1: error: operands are not valid for this GPU or mode
-// NOSICIVI: :[[@LINE-1]]:1: error: instruction not supported on this GPU
v_cmp_eq_i64 vcc, scc, v[0:1]
// GFX89: v_cmp_eq_i64_e32 vcc, src_scc, v[0:1] ; encoding: [0xfd,0x00,0xc4,0x7d]
@@ -1218,7 +1190,6 @@ v_max_f16 v0, execz, v0
// NOGFX12: :[[@LINE-3]]:15: error: src_execz register not available on this GPU
// NOGFX1250: :[[@LINE-4]]:15: error: src_execz register not available on this GPU
// NOSICI: :[[@LINE-5]]:1: error: instruction not supported on this GPU
-// NOSICIVI: :[[@LINE-2]]:1: error: instruction not supported on this GPU
v_max_f32 v0, vccz, v0
// GFX89: v_max_f32_e32 v0, src_vccz, v0 ; encoding: [0xfb,0x00,0x00,0x16]
@@ -1240,7 +1211,6 @@ v_pk_add_f16 v0, execz, v0
// NOGFX1250: :[[@LINE-4]]:18: error: src_execz register not available on this GPU
// NOSICI: :[[@LINE-5]]:1: error: instruction not supported on this GPU
// NOVI: :[[@LINE-6]]:1: error: instruction not supported on this GPU
-// NOSICIVI: :[[@LINE-1]]:1: error: instruction not supported on this GPU
v_ceil_f16 v0, neg(vccz)
// GFX89: v_ceil_f16_e64 v0, -src_vccz ; encoding: [0x00,0x00,0x85,0xd1,0xfb,0x00,0x00,0x20]
@@ -1248,7 +1218,6 @@ v_ceil_f16 v0, neg(vccz)
// NOGFX12: :[[@LINE-3]]:20: error: src_vccz register not available on this GPU
// NOGFX1250: :[[@LINE-4]]:20: error: src_vccz register not available on this GPU
// NOSICI: :[[@LINE-5]]:1: error: instruction not supported on this GPU
-// NOSICIVI: :[[@LINE-2]]:1: error: instruction not supported on this GPU
v_ceil_f16 v0, abs(scc)
// GFX12: v_ceil_f16_e64 v0, |src_scc| ; encoding: [0x00,0x01,0xdc,0xd5,0xfd,0x00,0x01,0x02]
@@ -1256,7 +1225,6 @@ v_ceil_f16 v0, abs(scc)
// NOGFX11: :[[@LINE-3]]:1: error: operands are not valid for this GPU or mode
// NOGFX1250: :[[@LINE-4]]:1: error: operands are not valid for this GPU or mode
// NOSICI: :[[@LINE-5]]:1: error: instruction not supported on this GPU
-// NOSICIVI: :[[@LINE-2]]:1: error: instruction not supported on this GPU
v_ceil_f16 v0.l, abs(scc)
// GFX11: v_ceil_f16_e64 v0.l, |src_scc| ; encoding: [0x00,0x01,0xdc,0xd5,0xfd,0x00,0x01,0x02]
@@ -1302,7 +1270,6 @@ v_ceil_f16_sdwa v5, |vccz| dst_sel:DWORD dst_unused:UNUSED_PRESERVE
// NOGFX1250: :[[@LINE-4]]:1: error: sdwa variant of this instruction is not supported
// NOSICI: :[[@LINE-5]]:1: error: instruction not supported on this GPU
// NOVI: :[[@LINE-6]]:22: error: invalid operand for instruction
-// NOSICIVI: :[[@LINE-1]]:1: error: instruction not supported on this GPU
v_ceil_f16_sdwa v5, -scc dst_sel:DWORD dst_unused:UNUSED_PRESERVE
// GFX9: v_ceil_f16_sdwa v5, -src_scc dst_sel:DWORD dst_un...
[truncated]
``````````
</details>
https://github.com/llvm/llvm-project/pull/185015
More information about the llvm-commits
mailing list