44 lines · plain
1; RUN: llc -mtriple=amdgcn < %s | FileCheck -check-prefix=GCN %s2; RUN: llc -mtriple=amdgcn -mcpu=tonga < %s | FileCheck -check-prefix=GCN %s3 4declare void @llvm.amdgcn.s.incperflevel(i32) #05 6; GCN-LABEL: {{^}}test_s_incperflevel:7; GCN: s_incperflevel 0{{$}}8; GCN: s_incperflevel 1{{$}}9; GCN: s_incperflevel 2{{$}}10; GCN: s_incperflevel 3{{$}}11; GCN: s_incperflevel 4{{$}}12; GCN: s_incperflevel 5{{$}}13; GCN: s_incperflevel 6{{$}}14; GCN: s_incperflevel 7{{$}}15; GCN: s_incperflevel 8{{$}}16; GCN: s_incperflevel 9{{$}}17; GCN: s_incperflevel 10{{$}}18; GCN: s_incperflevel 11{{$}}19; GCN: s_incperflevel 12{{$}}20; GCN: s_incperflevel 13{{$}}21; GCN: s_incperflevel 14{{$}}22; GCN: s_incperflevel 15{{$}}23define amdgpu_kernel void @test_s_incperflevel(i32 %x) #0 {24 call void @llvm.amdgcn.s.incperflevel(i32 0)25 call void @llvm.amdgcn.s.incperflevel(i32 1)26 call void @llvm.amdgcn.s.incperflevel(i32 2)27 call void @llvm.amdgcn.s.incperflevel(i32 3)28 call void @llvm.amdgcn.s.incperflevel(i32 4)29 call void @llvm.amdgcn.s.incperflevel(i32 5)30 call void @llvm.amdgcn.s.incperflevel(i32 6)31 call void @llvm.amdgcn.s.incperflevel(i32 7)32 call void @llvm.amdgcn.s.incperflevel(i32 8)33 call void @llvm.amdgcn.s.incperflevel(i32 9)34 call void @llvm.amdgcn.s.incperflevel(i32 10)35 call void @llvm.amdgcn.s.incperflevel(i32 11)36 call void @llvm.amdgcn.s.incperflevel(i32 12)37 call void @llvm.amdgcn.s.incperflevel(i32 13)38 call void @llvm.amdgcn.s.incperflevel(i32 14)39 call void @llvm.amdgcn.s.incperflevel(i32 15)40 ret void41}42 43attributes #0 = { nounwind }44