[llvm] [AMDGPU][GFX12] Add tests for {image/flat}_atomic_pk (PR #78683)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 01:16:15 PST 2024


================
@@ -1018,6 +1018,60 @@ image_atomic_max_flt v[254:255], [v4, v5, v6, v7], s[96:103] dmask:0x3 dim:SQ_RS
 image_atomic_max_flt v0, v0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1D th:TH_ATOMIC_NT
 // GFX12: encoding: [0x00,0x40,0x61,0xd0,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00]
 
+image_atomic_pk_add_f16 v0, v0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1D
----------------
jayfoad wrote:

Don't need this - these tests are already present starting at line 886.

https://github.com/llvm/llvm-project/pull/78683


More information about the llvm-commits mailing list