1 ; RUN: llc < %s -march=arm -mattr=+vfp2 | FileCheck %s --check-prefix=CHECK-VFP
2 ; RUN: llc < %s -march=arm | FileCheck %s
4 define float @f1(double %x) {
10 %tmp1 = fptrunc double %x to float ; <float> [#uses=1]
14 define double @f2(float %x) {
20 %tmp1 = fpext float %x to double ; <double> [#uses=1]
24 define i32 @f3(float %x) {
30 %tmp = fptosi float %x to i32 ; <i32> [#uses=1]
34 define i32 @f4(float %x) {
40 %tmp = fptoui float %x to i32 ; <i32> [#uses=1]
44 define i32 @f5(double %x) {
50 %tmp = fptosi double %x to i32 ; <i32> [#uses=1]
54 define i32 @f6(double %x) {
60 %tmp = fptoui double %x to i32 ; <i32> [#uses=1]
64 define float @f7(i32 %a) {
70 %tmp = sitofp i32 %a to float ; <float> [#uses=1]
74 define double @f8(i32 %a) {
80 %tmp = sitofp i32 %a to double ; <double> [#uses=1]
84 define float @f9(i32 %a) {
90 %tmp = uitofp i32 %a to float ; <float> [#uses=1]
94 define double @f10(i32 %a) {
100 %tmp = uitofp i32 %a to double ; <double> [#uses=1]