1 ; RUN: llc < %s -march=r600 -mcpu=verde -verify-machineinstrs | FileCheck --check-prefix=SI %s 2 3 ; SI-LABEL: @kill_gs_const 4 ; SI-NOT: V_CMPX_LE_F32 5 ; SI: S_MOV_B64 exec, 0 6 7 define void @kill_gs_const() #0 { 8 main_body: 9 %0 = icmp ule i32 0, 3 10 %1 = select i1 %0, float 1.000000e+00, float -1.000000e+00 11 call void @llvm.AMDGPU.kill(float %1) 12 %2 = icmp ule i32 3, 0 13 %3 = select i1 %2, float 1.000000e+00, float -1.000000e+00 14 call void @llvm.AMDGPU.kill(float %3) 15 ret void 16 } 17 18 declare void @llvm.AMDGPU.kill(float) 19 20 attributes #0 = { "ShaderType"="2" } 21 22 !0 = metadata !{metadata !"const", null, i32 1} 23