1 ; RUN: opt < %s -licm -loop-unroll -disable-output 2 3 @resonant = external global i32 ; <i32*> [#uses=2] 4 5 define void @weightadj() { 6 entry: 7 br label %bb 8 9 bb: ; preds = %bb158, %entry 10 store i32 0, i32* @resonant, align 4 11 br i1 false, label %g.exit, label %bb158 12 13 g.exit: ; preds = %bb68, %bb 14 br i1 false, label %bb68, label %cond_true 15 16 cond_true: ; preds = %g.exit 17 store i32 1, i32* @resonant, align 4 18 br label %bb68 19 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 23 24 bb158: ; preds = %bb68, %bb 25 br i1 false, label %bb, label %return 26 27 return: ; preds = %bb158 28 ret void 29 } 30