Merging r261365:
[oota-llvm.git] / test / MC / X86 / x86-windows-itanium-libcalls.ll
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