1; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s 2; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s 3 4; GCN: foo1: 5; v_cndmask_b32_e64 v0, 0, 1, vcc_lo{{$}} 6; GCN: kernel1: 7; GCN: foo1@gotpcrel32@lo+4 8; GCN: foo1@gotpcrel32@hi+12 9 10define void @foo1(i32 %x) #1 { 11entry: 12 %cc = icmp eq i32 %x, 0 13 store volatile i1 %cc, ptr undef 14 ret void 15} 16 17define amdgpu_kernel void @kernel1(float %x) #0 { 18entry: 19 call void @foo1(float %x) 20 ret void 21} 22 23attributes #0 = { nounwind "target-features"="+wavefrontsize32" } 24attributes #1 = { noinline nounwind "target-features"="+wavefrontsize64" } 25