1; Test for rdar://7452967
2; RUN: opt < %s -licm -disable-output
3define void @foo (i8* %v)
4{
5  entry:
6    br i1 undef, label %preheader, label %return
7
8  preheader:
9    br i1 undef, label %loop, label %return
10
11  loop:
12    indirectbr i8* undef, [label %preheader, label %stuff]
13
14  stuff:
15    %0 = load i8, i8* undef, align 1
16    br label %loop
17
18  return:
19    ret void
20
21}
22