brintos

brintos / llvm-project-archived public Read only

0
0
Text · 664 B · 4ad6835 Raw
25 lines · plain
1; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 < %s | FileCheck -check-prefix=GCN %s2; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 < %s | FileCheck -check-prefix=GCN %s3 4; GCN: foo1:5; v_cndmask_b32_e64 v0, 0, 1, vcc_lo{{$}}6; GCN: kernel1:7; GCN: foo1@gotpcrel32@lo+48; GCN: foo1@gotpcrel32@hi+129 10define void @foo1(i32 %x) #1 {11entry:12  %cc = icmp eq i32 %x, 013  store volatile i1 %cc, ptr poison14  ret void15}16 17define amdgpu_kernel void @kernel1(float %x) #0 {18entry:19  call void @foo1(float %x)20  ret void21}22 23attributes #0 = { nounwind "target-features"="+wavefrontsize32" }24attributes #1 = { noinline nounwind "target-features"="+wavefrontsize64" }25