1*f4a2713aSLionel Sambuc; RUN: opt < %s -licm -loop-unroll -disable-output 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc@resonant = external global i32 ; <i32*> [#uses=2] 4*f4a2713aSLionel Sambuc 5*f4a2713aSLionel Sambucdefine void @weightadj() { 6*f4a2713aSLionel Sambucentry: 7*f4a2713aSLionel Sambuc br label %bb 8*f4a2713aSLionel Sambuc 9*f4a2713aSLionel Sambucbb: ; preds = %bb158, %entry 10*f4a2713aSLionel Sambuc store i32 0, i32* @resonant, align 4 11*f4a2713aSLionel Sambuc br i1 false, label %g.exit, label %bb158 12*f4a2713aSLionel Sambuc 13*f4a2713aSLionel Sambucg.exit: ; preds = %bb68, %bb 14*f4a2713aSLionel Sambuc br i1 false, label %bb68, label %cond_true 15*f4a2713aSLionel Sambuc 16*f4a2713aSLionel Sambuccond_true: ; preds = %g.exit 17*f4a2713aSLionel Sambuc store i32 1, i32* @resonant, align 4 18*f4a2713aSLionel Sambuc br label %bb68 19*f4a2713aSLionel Sambuc 20*f4a2713aSLionel Sambucbb68: ; preds = %cond_true, %g.exit 21*f4a2713aSLionel Sambuc %tmp71 = icmp slt i32 0, 0 ; <i1> [#uses=1] 22*f4a2713aSLionel Sambuc br i1 %tmp71, label %g.exit, label %bb158 23*f4a2713aSLionel Sambuc 24*f4a2713aSLionel Sambucbb158: ; preds = %bb68, %bb 25*f4a2713aSLionel Sambuc br i1 false, label %bb, label %return 26*f4a2713aSLionel Sambuc 27*f4a2713aSLionel Sambucreturn: ; preds = %bb158 28*f4a2713aSLionel Sambuc ret void 29*f4a2713aSLionel Sambuc} 30