1 ; RUN: opt < %s -licm -loop-unroll -disable-output
3 @resonant = external global i32 ; <i32*> [#uses=2]
5 define void @weightadj() {
9 bb: ; preds = %bb158, %entry
10 store i32 0, i32* @resonant, align 4
11 br i1 false, label %g.exit, label %bb158
13 g.exit: ; preds = %bb68, %bb
14 br i1 false, label %bb68, label %cond_true
16 cond_true: ; preds = %g.exit
17 store i32 1, i32* @resonant, align 4
20 bb68: ; preds = %cond_true, %g.exit
21 %tmp71 = icmp slt i32 0, 0 ; <i1> [#uses=1]
22 br i1 %tmp71, label %g.exit, label %bb158
24 bb158: ; preds = %bb68, %bb
25 br i1 false, label %bb, label %return
27 return: ; preds = %bb158