brintos

brintos / llvm-project-archived public Read only

0
0
Text · 969 B · 2f03458 Raw
23 lines · plain
1! RUN: bbc -emit-fir %s -o - --math-runtime=fast | FileCheck --check-prefixes=ALL %s2! RUN: %flang_fc1 -emit-fir -mllvm -math-runtime=fast %s -o - | FileCheck --check-prefixes=ALL %s3! RUN: bbc -emit-fir %s -o - --math-runtime=relaxed | FileCheck --check-prefixes=ALL %s4! RUN: %flang_fc1 -emit-fir -mllvm -math-runtime=relaxed %s -o - | FileCheck --check-prefixes=ALL %s5! RUN: bbc -emit-fir %s -o - --math-runtime=precise | FileCheck --check-prefixes=ALL %s6! RUN: %flang_fc1 -emit-fir -mllvm -math-runtime=precise %s -o - | FileCheck --check-prefixes=ALL %s7 8function test_real4(x)9  real :: x, test_real410  test_real4 = bessel_y1(x)11end function12 13! ALL-LABEL: @_QPtest_real414! ALL: {{%[A-Za-z0-9._]+}} = fir.call @y1f({{%[A-Za-z0-9._]+}}) {{.*}}: (f32) -> f3215 16function test_real8(x)17  real(8) :: x, test_real818  test_real8 = bessel_y1(x)19end function20 21! ALL-LABEL: @_QPtest_real822! ALL: {{%[A-Za-z0-9._]+}} = fir.call @y1({{%[A-Za-z0-9._]+}}) {{.*}}: (f64) -> f6423