Debian Codegraph @

llvm/test/CodeGen/PowerPC/llvm.sincospi.ll

raw
1 ; RUN: not llc -mtriple=powerpc64le-gnu-linux -filetype=null %s 2>&1 | FileCheck %s
2
3 ; CHECK: error: no libcall available for fsincospi
4 define { half, half } @test_sincospi_f16(half %a) #0 {
5 %result = call { half, half } @llvm.sincospi.f16(half %a)
6 ret { half, half } %result
7 }
8
9 ; CHECK: error: no libcall available for fsincospi
10 define { float, float } @test_sincospi_f32(float %a) #0 {
11 %result = call { float, float } @llvm.sincospi.f32(float %a)
12 ret { float, float } %result
13 }
14
15 ; CHECK: error: no libcall available for fsincospi
16 define { double, double } @test_sincospi_f64(double %a) #0 {
17 %result = call { double, double } @llvm.sincospi.f64(double %a)
18 ret { double, double } %result
19 }
20
21 attributes #0 = { nounwind }