Michael Kuperstein | e1194bd | 2015-10-27 07:23:59 +0000 | [diff] [blame^] | 1 | ; RUN: llc < %s -mtriple=i686-pc-elfiamcu | FileCheck %s |
Michael Kuperstein | eaa1600 | 2015-10-25 08:14:05 +0000 | [diff] [blame] | 2 | |
3 | ; CHECK-LABEL: test_lib_args: | ||||
4 | ; CHECK: movl %edx, %eax | ||||
5 | ; CHECK: calll __fixsfsi | ||||
6 | define i32 @test_lib_args(float inreg %a, float inreg %b) #0 { | ||||
7 | %ret = fptosi float %b to i32 | ||||
8 | ret i32 %ret | ||||
9 | } | ||||
10 | |||||
11 | attributes #0 = { nounwind "use-soft-float"="true"} |