1 ; RUN: opt -jump-threading < %s
2 ; <rdar://problem/9284786>
4 %0 = type <{ i64, i16, i64, i8, i8 }>
6 @g_338 = external global %0, align 8
8 define void @func_1() nounwind ssp {
13 %inc1187 = add nsw i32 0, 1
14 %cmp1179 = icmp slt i32 %inc1187, 5
15 br i1 %cmp1179, label %for.cond1177, label %land.rhs1320
18 %tmp1324 = load volatile i64, i64* getelementptr inbounds (%0, %0* @g_338, i64 0, i32 2), align 1
22 %tobool.pr.i = phi i1 [ false, %if.end.i ], [ false, %land.rhs1320 ]
23 br i1 %tobool.pr.i, label %return, label %if.end.i