[llvm] [AMDGPU] Update s_get_barrier_state tests (PR #75575)

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 15 01:15:53 PST 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mc

Author: Mariusz Sikora (mariusz-sikora-at-amd)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/75575.diff


1 Files Affected:

- (modified) llvm/test/MC/AMDGPU/gfx12_asm_sop1.s (+9) 


``````````diff
diff --git a/llvm/test/MC/AMDGPU/gfx12_asm_sop1.s b/llvm/test/MC/AMDGPU/gfx12_asm_sop1.s
index 495a2ea78ffef7..6f32e6cccfbceb 100644
--- a/llvm/test/MC/AMDGPU/gfx12_asm_sop1.s
+++ b/llvm/test/MC/AMDGPU/gfx12_asm_sop1.s
@@ -735,6 +735,15 @@ s_wakeup_barrier -1
 s_wakeup_barrier m0
 // GFX12: encoding: [0x7d,0x57,0x80,0xbe]
 
+s_get_barrier_state s3, -1
+// GFX12: encoding: [0xc1,0x50,0x83,0xbe]
+
+s_get_barrier_state s3, -2
+// GFX12: encoding: [0xc2,0x50,0x83,0xbe]
+
+s_get_barrier_state s3, m0
+// GFX12: encoding: [0x7d,0x50,0x83,0xbe]
+
 s_mov_b32 s0, s1
 // GFX12: encoding: [0x01,0x00,0x80,0xbe]
 

``````````

</details>


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


More information about the llvm-commits mailing list