1 ; RUN: llc < %s -march=thumb
3 define float @f1(double %x) {
5 %tmp1 = fptrunc double %x to float ; <float> [#uses=1]
9 define double @f2(float %x) {
11 %tmp1 = fpext float %x to double ; <double> [#uses=1]
15 define i32 @f3(float %x) {
17 %tmp = fptosi float %x to i32 ; <i32> [#uses=1]
21 define i32 @f4(float %x) {
23 %tmp = fptoui float %x to i32 ; <i32> [#uses=1]
27 define i32 @f5(double %x) {
29 %tmp = fptosi double %x to i32 ; <i32> [#uses=1]
33 define i32 @f6(double %x) {
35 %tmp = fptoui double %x to i32 ; <i32> [#uses=1]
39 define float @f7(i32 %a) {
41 %tmp = sitofp i32 %a to float ; <float> [#uses=1]
45 define double @f8(i32 %a) {
47 %tmp = sitofp i32 %a to double ; <double> [#uses=1]
51 define float @f9(i32 %a) {
53 %tmp = uitofp i32 %a to float ; <float> [#uses=1]
57 define double @f10(i32 %a) {
59 %tmp = uitofp i32 %a to double ; <double> [#uses=1]