1 ; RUN: llc -march=arm < %s | FileCheck %s
2 ; <rdar://problem/8686347>
4 define i32 @test1(i1 %a, i32* %b) {
7 br i1 %a, label %lblock, label %rblock
10 %lbranch = getelementptr i32* %b, i32 1
14 %rbranch = getelementptr i32* %b, i32 1
18 ; CHECK: ldr r0, [r1, #4]
19 %gep = phi i32* [%lbranch, %lblock], [%rbranch, %rblock]