1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -march=amdgcn -mcpu=polaris10 -run-pass si-insert-skips -amdgpu-skip-threshold=1 -verify-machineinstrs %s -o - | FileCheck %s
8 ; CHECK-LABEL: name: skip_execz_flat
10 ; CHECK: successors: %bb.1(0x40000000), %bb.2(0x40000000)
11 ; CHECK: SI_MASK_BRANCH %bb.2, implicit $exec
12 ; CHECK: S_CBRANCH_EXECZ %bb.2, implicit $exec
14 ; CHECK: successors: %bb.2(0x80000000)
15 ; CHECK: $vgpr0 = V_MOV_B32_e32 0, implicit $exec
16 ; CHECK: FLAT_STORE_DWORD undef $vgpr1_vgpr2, $vgpr0, 0, 0, 0, 0, implicit $exec, implicit $flat_scr
20 successors: %bb.1, %bb.2
21 SI_MASK_BRANCH %bb.2, implicit $exec
25 $vgpr0 = V_MOV_B32_e32 0, implicit $exec
26 FLAT_STORE_DWORD undef $vgpr1_vgpr2, $vgpr0, 0, 0, 0, 0, implicit $exec, implicit $flat_scr
34 name: skip_execz_mubuf
36 ; CHECK-LABEL: name: skip_execz_mubuf
38 ; CHECK: successors: %bb.1(0x40000000), %bb.2(0x40000000)
39 ; CHECK: SI_MASK_BRANCH %bb.2, implicit $exec
40 ; CHECK: S_CBRANCH_EXECZ %bb.2, implicit $exec
42 ; CHECK: successors: %bb.2(0x80000000)
43 ; CHECK: $vgpr0 = V_MOV_B32_e32 0, implicit $exec
44 ; CHECK: BUFFER_STORE_DWORD_OFFSET $vgpr0, undef $sgpr0_sgpr1_sgpr2_sgpr3, undef $sgpr4, 0, 0, 0, 0, 0, 0, implicit $exec
48 successors: %bb.1, %bb.2
49 SI_MASK_BRANCH %bb.2, implicit $exec
53 $vgpr0 = V_MOV_B32_e32 0, implicit $exec
54 BUFFER_STORE_DWORD_OFFSET $vgpr0, undef $sgpr0_sgpr1_sgpr2_sgpr3, undef $sgpr4, 0, 0, 0, 0, 0, 0, implicit $exec