xref: /aosp_15_r20/external/llvm/test/MC/X86/x86-windows-itanium-libcalls.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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