1 ; RUN: opt < %s -loop-rotate -verify-dom-info -verify-loop-info -disable-output
2 ; ModuleID = 'PhiSelfReference-1.bc'
4 define void @snrm2(i32 %incx) {
6 br i1 false, label %START, label %return
8 START: ; preds = %entry
9 br i1 false, label %bb85, label %cond_false93
12 br i1 false, label %bb307, label %cond_next71
14 cond_next71: ; preds = %bb52
17 bb85: ; preds = %START
18 br i1 false, label %bb52, label %bb88
23 cond_false93: ; preds = %START
26 bb243: ; preds = %bb307
29 bb307: ; preds = %bb243, %bb52
30 %sx_addr.2.pn = phi float* [ %sx_addr.5, %bb243 ], [ null, %bb52 ] ; <float*> [#uses=1]
31 %sx_addr.5 = getelementptr float, float* %sx_addr.2.pn, i32 %incx ; <float*> [#uses=1]
32 br i1 false, label %bb243, label %bb310
34 bb310: ; preds = %bb307
37 return: ; preds = %entry