brintos

brintos / llvm-project-archived public Read only

0
0
Text · 317 B · 8d18d19 Raw
12 lines · plain
1; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s2 3define float @f(float %val) strictfp {4; CHECK-LABEL: @f5; CHECK: call{{.*}}@sqrtf6; CHECK-NOT: call{{.*}}@sqrtf7  %res = tail call float @sqrtf(float %val) strictfp8  ret float %res9}10 11declare float @sqrtf(float)12