1; RUN: llc < %s -mtriple=armv6-eabi -mattr=+vfp2 -float-abi=hard 2; PR4419 3 4define float @__ieee754_acosf(float %x) nounwind { 5entry: 6 br i1 undef, label %bb, label %bb4 7 8bb: ; preds = %entry 9 ret float undef 10 11bb4: ; preds = %entry 12 br i1 undef, label %bb5, label %bb6 13 14bb5: ; preds = %bb4 15 ret float undef 16 17bb6: ; preds = %bb4 18 br i1 undef, label %bb11, label %bb12 19 20bb11: ; preds = %bb6 21 %0 = tail call float @__ieee754_sqrtf(float undef) nounwind ; <float> [#uses=1] 22 %1 = fmul float %0, -2.000000e+00 ; <float> [#uses=1] 23 %2 = fadd float %1, 0x400921FB40000000 ; <float> [#uses=1] 24 ret float %2 25 26bb12: ; preds = %bb6 27 ret float undef 28} 29 30declare float @__ieee754_sqrtf(float) 31