1 ; RUN: llc < %s -march=thumb -mcpu=cortex-a8 | FileCheck %s
4 @a = common global float 0.000000e+00 ; <float*> [#uses=2]
5 @b = common global float 0.000000e+00 ; <float*> [#uses=1]
7 define float @t(i32 %c) nounwind {
9 %0 = icmp sgt i32 %c, 1 ; <i1> [#uses=1]
10 %1 = load float* @a, align 4 ; <float> [#uses=2]
11 %2 = load float* @b, align 4 ; <float> [#uses=2]
12 br i1 %0, label %bb, label %bb1
17 ; CHECK-NEXT: vaddge.f32
18 %3 = fadd float %1, %2 ; <float> [#uses=1]
22 %4 = fsub float %1, %2 ; <float> [#uses=1]
25 bb2: ; preds = %bb1, %bb
26 %storemerge = phi float [ %4, %bb1 ], [ %3, %bb ] ; <float> [#uses=2]
27 store float %storemerge, float* @a