[X86] Make elfiamcu an OS, not an environment.
[oota-llvm.git] / test / CodeGen / X86 / mcu-abi.ll
1 ; RUN: llc < %s -mtriple=i686-pc-elfiamcu | FileCheck %s
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"}