Home | History | Annotate | Download | only in TailDup
      1 ; RUN: opt < %s -tailduplicate -disable-output
      2 
      3 define void @motion_result7() {
      4 entry:
      5 	br label %endif
      6 endif:		; preds = %no_exit, %entry
      7 	%i.1 = phi i32 [ %inc, %no_exit ], [ 0, %entry ]		; <i32> [#uses=1]
      8 	%inc = add i32 %i.1, 1		; <i32> [#uses=1]
      9 	br i1 false, label %no_exit, label %UnifiedExitNode
     10 no_exit:		; preds = %endif
     11 	br i1 false, label %UnifiedExitNode, label %endif
     12 UnifiedExitNode:		; preds = %no_exit, %endif
     13 	ret void
     14 }
     15 
     16