Skip to content

Commit c26174f

Browse files
authored
[AMDGPU] Remove s_cbranch_cdbg* for GFX12 (#75496)
No GFX12 encoding was added for these, so this patch just adds tests that they are not recognized by the assembler.
1 parent 6e87672 commit c26174f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

llvm/test/MC/AMDGPU/gfx12_unsupported.s

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ s_subvector_loop_begin s0, 0x1234
1010
s_subvector_loop_end s0, 0x1234
1111
// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1212

13+
s_cbranch_cdbgsys 0
14+
// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
15+
16+
s_cbranch_cdbguser 0
17+
// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
18+
19+
s_cbranch_cdbgsys_or_user 0
20+
// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
21+
22+
s_cbranch_cdbgsys_and_user 0
23+
// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
24+
1325
ds_cmpstore_f32 v0, v1, v2
1426
// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1527

0 commit comments

Comments
 (0)