1 ; RUN: llc -mtriple=arm-eabi -mattr=+v4t %s -o - | FileCheck %s
3 ; <rdar://problem/8686347>
5 define i32 @test1(i1 %a, i32* %b) {
8 br i1 %a, label %lblock, label %rblock
11 %lbranch = getelementptr i32, i32* %b, i32 1
15 %rbranch = getelementptr i32, i32* %b, i32 1
19 ; CHECK: ldr r0, [r1, #4]
20 %gep = phi i32* [%lbranch, %lblock], [%rbranch, %rblock]
21 %r = load i32, i32* %gep