1; RUN: opt -mtriple i686-windows-itanium -O2 -o - %s | llvm-dis | FileCheck %s
2
3target triple = "i686-windows-itanium"
4
5declare dllimport double @floor(double)
6
7define dllexport float @test(float %f) {
8  %conv = fpext float %f to double
9  %call = tail call double @floor(double %conv)
10  %cast = fptrunc double %call to float
11  ret float %cast
12}
13
14; CHECK-NOT: floorf
15; CHECK: floor
16
17