Home | History | Annotate | Download | only in TailDup
      1 ; RUN: opt < %s -tailduplicate -disable-output
      2 
      3 define i32 @foo() {
      4 entry:
      5 	br label %return.i
      6 after_ret.i:		; No predecessors!
      7 	br label %return.i
      8 return.i:		; preds = %after_ret.i, %entry
      9 	%tmp.3 = ptrtoint i32* null to i32		; <i32> [#uses=1]
     10 	br label %return.i1
     11 after_ret.i1:		; No predecessors!
     12 	br label %return.i1
     13 return.i1:		; preds = %after_ret.i1, %return.i
     14 	%tmp.8 = sub i32 %tmp.3, 0		; <i32> [#uses=0]
     15 	ret i32 0
     16 }
     17 
     18