1 ; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2 > %t
13 define float @f1(double %x) {
15 %tmp1 = fptrunc double %x to float ; <float> [#uses=1]
19 define double @f2(float %x) {
21 %tmp1 = fpext float %x to double ; <double> [#uses=1]
25 define i32 @f3(float %x) {
27 %tmp = fptosi float %x to i32 ; <i32> [#uses=1]
31 define i32 @f4(float %x) {
33 %tmp = fptoui float %x to i32 ; <i32> [#uses=1]
37 define i32 @f5(double %x) {
39 %tmp = fptosi double %x to i32 ; <i32> [#uses=1]
43 define i32 @f6(double %x) {
45 %tmp = fptoui double %x to i32 ; <i32> [#uses=1]
49 define float @f7(i32 %a) {
51 %tmp = sitofp i32 %a to float ; <float> [#uses=1]
55 define double @f8(i32 %a) {
57 %tmp = sitofp i32 %a to double ; <double> [#uses=1]
61 define float @f9(i32 %a) {
63 %tmp = uitofp i32 %a to float ; <float> [#uses=1]
67 define double @f10(i32 %a) {
69 %tmp = uitofp i32 %a to double ; <double> [#uses=1]