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