1; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a9 -enable-unsafe-fp-math %s -o /dev/null 2;target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32-S64" 3;target triple = "armv7-none-linux-gnueabi" 4 5define arm_aapcs_vfpcc void @foo(<4 x float> %arg) nounwind align 2 { 6bb4: 7 %tmp = extractelement <2 x float> undef, i32 0 8 br i1 undef, label %bb18, label %bb5 9 10bb5: ; preds = %bb4 11 %tmp6 = fadd float %tmp, -1.500000e+01 12 %tmp7 = fdiv float %tmp6, 2.000000e+01 13 %tmp8 = fadd float %tmp7, 1.000000e+00 14 %tmp9 = fdiv float 1.000000e+00, %tmp8 15 %tmp10 = fsub float 1.000000e+00, %tmp9 16 %tmp11 = fmul float %tmp10, 1.000000e+01 17 %tmp12 = fadd float %tmp11, 1.500000e+01 18 %tmp13 = fdiv float %tmp12, %tmp 19 %tmp14 = insertelement <2 x float> undef, float %tmp13, i32 0 20 %tmp15 = shufflevector <2 x float> %tmp14, <2 x float> undef, <4 x i32> zeroinitializer 21 %tmp16 = fmul <4 x float> zeroinitializer, %tmp15 22 %tmp17 = fadd <4 x float> %tmp16, %arg 23 store <4 x float> %tmp17, <4 x float>* undef, align 8 24 br label %bb18 25 26bb18: ; preds = %bb5, %bb4 27 ret void 28} 29