1 ; RUN: llc < %s -mtriple=armv6-eabi -mattr=+vfp2 -float-abi=hard 2 ; PR4419 3 4 define float @__ieee754_acosf(float %x) nounwind { 5 entry: 6 br i1 undef, label %bb, label %bb4 7 8 bb: ; preds = %entry 9 ret float undef 10 11 bb4: ; preds = %entry 12 br i1 undef, label %bb5, label %bb6 13 14 bb5: ; preds = %bb4 15 ret float undef 16 17 bb6: ; preds = %bb4 18 br i1 undef, label %bb11, label %bb12 19 20 bb11: ; 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 26 bb12: ; preds = %bb6 27 ret float undef 28 } 29 30 declare float @__ieee754_sqrtf(float) 31