================
@@ -15,6 +15,15 @@
 # GFX12: s_singleuse_vdst 0x1234                 ; encoding: 
[0x34,0x12,0x93,0xbf]
 0x34,0x12,0x93,0xbf
 
+# GFX12: s_barrier_wait 0xffff                   ; encoding: 
[0xff,0xff,0x94,0xbf]
+0xff,0xff,0x94,0xbf
+
+# GFX12: s_barrier_wait 1                        ; encoding: 
[0x01,0x00,0x94,0xbf]
+0x01,0x00,0x94,0xbf
+
+# GFX12: s_barrier_leave                         ; encoding: 
[0x00,0x00,0x95,0xbf]
+0x00,0x00,0x95,0xbf
+
----------------
piotrAMD wrote:

Nit: I think we are missing a single test for regular barrier here (s_barrier).

https://github.com/llvm/llvm-project/pull/74836
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to