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