1 ; RUN: llc < %s -mtriple=arm-apple-ios -mattr=+vfp2 | FileCheck %s
3 define float @f1(float %a, float %b) {
7 %tmp = fadd float %a, %b ; <float> [#uses=1]
11 define double @f2(double %a, double %b) {
15 %tmp = fadd double %a, %b ; <double> [#uses=1]
19 define float @f3(float %a, float %b) {
23 %tmp = fmul float %a, %b ; <float> [#uses=1]
27 define double @f4(double %a, double %b) {
31 %tmp = fmul double %a, %b ; <double> [#uses=1]
35 define float @f5(float %a, float %b) {
39 %tmp = fsub float %a, %b ; <float> [#uses=1]
43 define double @f6(double %a, double %b) {
47 %tmp = fsub double %a, %b ; <double> [#uses=1]
51 define float @f7(float %a) {
55 %tmp1 = fsub float -0.000000e+00, %a ; <float> [#uses=1]
59 define arm_aapcs_vfpcc double @f8(double %a) {
63 %tmp1 = fsub double -0.000000e+00, %a ; <double> [#uses=1]
67 define float @f9(float %a, float %b) {
71 %tmp1 = fdiv float %a, %b ; <float> [#uses=1]
75 define double @f10(double %a, double %b) {
79 %tmp1 = fdiv double %a, %b ; <double> [#uses=1]
83 define float @f11(float %a) {
87 %tmp1 = call float @fabsf( float %a ) readnone ; <float> [#uses=1]
91 declare float @fabsf(float)
93 define arm_aapcs_vfpcc double @f12(double %a) {
97 %tmp1 = call double @fabs( double %a ) readnone ; <double> [#uses=1]
101 declare double @fabs(double)