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