Home | History | Annotate | Download | only in LoopRotate
      1 ; RUN: opt < %s -loop-rotate -verify-dom-info -verify-loop-info -disable-output
      2 ; ModuleID = 'PhiSelfReference-1.bc'
      3 
      4 define void @snrm2(i32 %incx) {
      5 entry:
      6 	br i1 false, label %START, label %return
      7 
      8 START:		; preds = %entry
      9 	br i1 false, label %bb85, label %cond_false93
     10 
     11 bb52:		; preds = %bb85
     12 	br i1 false, label %bb307, label %cond_next71
     13 
     14 cond_next71:		; preds = %bb52
     15 	ret void
     16 
     17 bb85:		; preds = %START
     18 	br i1 false, label %bb52, label %bb88
     19 
     20 bb88:		; preds = %bb85
     21 	ret void
     22 
     23 cond_false93:		; preds = %START
     24 	ret void
     25 
     26 bb243:		; preds = %bb307
     27 	br label %bb307
     28 
     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
     33 
     34 bb310:		; preds = %bb307
     35 	ret void
     36 
     37 return:		; preds = %entry
     38 	ret void
     39 }
     40