17 lines · plain
1; RUN: opt -mtriple i686-windows-itanium -O2 -o - %s | llvm-dis | FileCheck %s2 3target triple = "i686-windows-itanium"4 5declare dllimport double @floor(double)6 7define dllexport float @test(float %f) {8 %conv = fpext float %f to double9 %call = tail call double @floor(double %conv)10 %cast = fptrunc double %call to float11 ret float %cast12}13 14; CHECK-NOT: floorf15; CHECK: floor16 17