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