[llvm] c26174f - [AMDGPU] Remove s_cbranch_cdbg* for GFX12 (#75496)

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 13:10:41 PST 2023


Author: Jay Foad
Date: 2023-12-14T21:10:36Z
New Revision: c26174f3a8337417dc5a8e89c21ced6bed46e8c9

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

LOG: [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.

Added: 
    

Modified: 
    llvm/test/MC/AMDGPU/gfx12_unsupported.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/AMDGPU/gfx12_unsupported.s b/llvm/test/MC/AMDGPU/gfx12_unsupported.s
index e835710a69fe85..4f6758b6f6786d 100644
--- a/llvm/test/MC/AMDGPU/gfx12_unsupported.s
+++ b/llvm/test/MC/AMDGPU/gfx12_unsupported.s
@@ -10,6 +10,18 @@ s_subvector_loop_begin s0, 0x1234
 s_subvector_loop_end s0, 0x1234
 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
 
+s_cbranch_cdbgsys 0
+// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
+
+s_cbranch_cdbguser 0
+// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
+
+s_cbranch_cdbgsys_or_user 0
+// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
+
+s_cbranch_cdbgsys_and_user 0
+// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
+
 ds_cmpstore_f32 v0, v1, v2
 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
 


        


More information about the llvm-commits mailing list