Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/AMDGPU/llvm.amdgcn.cubetc.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 7d135dc70f03 |
children |
comparison
equal
deleted
inserted
replaced
120:1172e4bd9c6f | 121:803732b1fca8 |
---|---|
3 | 3 |
4 declare float @llvm.amdgcn.cubetc(float, float, float) #0 | 4 declare float @llvm.amdgcn.cubetc(float, float, float) #0 |
5 | 5 |
6 ; GCN-LABEL: {{^}}test_cubetc: | 6 ; GCN-LABEL: {{^}}test_cubetc: |
7 ; GCN: v_cubetc_f32 v{{[0-9]+}}, s{{[0-9]+}}, v{{[0-9]+}}, v{{[0-9]+}} | 7 ; GCN: v_cubetc_f32 v{{[0-9]+}}, s{{[0-9]+}}, v{{[0-9]+}}, v{{[0-9]+}} |
8 define void @test_cubetc(float addrspace(1)* %out, float %a, float %b, float %c) #1 { | 8 define amdgpu_kernel void @test_cubetc(float addrspace(1)* %out, float %a, float %b, float %c) #1 { |
9 %result = call float @llvm.amdgcn.cubetc(float %a, float %b, float %c) | 9 %result = call float @llvm.amdgcn.cubetc(float %a, float %b, float %c) |
10 store float %result, float addrspace(1)* %out | 10 store float %result, float addrspace(1)* %out |
11 ret void | 11 ret void |
12 } | 12 } |
13 | 13 |