1 # RUN: llc -march=amdgcn -mcpu=polaris10 -run-pass si-insert-skips -amdgpu-skip-threshold=1 %s -o - | FileCheck %s
2 # https://bugs.freedesktop.org/show_bug.cgi?id=99019
4 define amdgpu_ps void @kill_uncond_branch() {
10 # CHECK-LABEL: name: kill_uncond_branch
13 # CHECK: S_CBRANCH_VCCNZ %bb.1, implicit $vcc
16 # CHECK: V_CMPX_LE_F32_e32
17 # CHECK-NEXT: S_CBRANCH_EXECNZ %bb.2, implicit $exec
20 # CHECK-NEXT: EXP_DONE
26 name: kill_uncond_branch
31 S_CBRANCH_VCCNZ %bb.1, implicit $vcc
35 $vgpr0 = V_MOV_B32_e32 0, implicit $exec
36 SI_KILL_F32_COND_IMM_TERMINATOR $vgpr0, 0, 3, implicit-def $exec, implicit-def $vcc, implicit-def $scc, implicit $exec