Home | History | Annotate | Download | only in X86
      1 ; RUN: opt -mtriple i686-windows-itanium -O2 -o - %s | llvm-dis | FileCheck %s
      2 
      3 target triple = "i686-windows-itanium"
      4 
      5 declare dllimport double @floor(double)
      6 
      7 define 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