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