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