1 ; RUN: llc < %s -march=arm -mattr=+vfp2 > %t
2 ; RUN: grep fmsr %t | count 4
4 ; RUN: grep fmrs %t | count 2
6 ; RUN: grep fmrrd %t | count 3
7 ; RUN: not grep fmdrr %t
11 ; RUN: grep 1065353216 %t
13 define float @f(i32 %a) {
15 %tmp = sitofp i32 %a to float ; <float> [#uses=1]
19 define double @g(i32 %a) {
21 %tmp = sitofp i32 %a to double ; <double> [#uses=1]
25 define double @uint_to_double(i32 %a) {
27 %tmp = uitofp i32 %a to double ; <double> [#uses=1]
31 define float @uint_to_float(i32 %a) {
33 %tmp = uitofp i32 %a to float ; <float> [#uses=1]
37 define double @h(double* %v) {
39 %tmp = load double* %v ; <double> [#uses=1]
45 ret float 1.000000e+00
48 define double @f2(double %a) {
54 %tmp = call double @f5( ) ; <double> [#uses=1]
55 call void @f4( double %tmp )
59 declare void @f4(double)