xref: /llvm-project/llvm/test/Transforms/PartiallyInlineLibCalls/strictfp.ll (revision 3528e63d89305907b3d6e0f59f7b03b94a12dacc)
1; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
2
3define float @f(float %val) strictfp {
4; CHECK-LABEL: @f
5; CHECK: call{{.*}}@sqrtf
6; CHECK-NOT: call{{.*}}@sqrtf
7  %res = tail call float @sqrtf(float %val) strictfp
8  ret float %res
9}
10
11declare float @sqrtf(float)
12