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
4 define float @f(float %val) {
6 ; CHECK: call{{.*}}@sqrtf
7 ; CHECK-NOT: call{{.*}}@sqrtf
8 %res = tail call float @sqrtf(float %val) nobuiltin
12 declare float @sqrtf(float)