brintos

brintos / llvm-project-archived public Read only

0
0
Text · 814 B · 2883fbe Raw
32 lines · plain
1; RUN: opt < %s -passes=instcombine -S | grep ret2; PR12173 4target datalayout = "e-p:32:32"5target triple = "i686-pc-linux-gnu"6	%struct.termbox = type { ptr, i32, i32, i32, i32, i32 }7 8 9define void @ggenorien() {10entry:11	%tmp68 = icmp eq ptr null, null		; <i1> [#uses=1]12	br i1 %tmp68, label %cond_next448, label %bb8013 14bb80:		; preds = %entry15	ret void16 17cond_next448:		; preds = %entry18	br i1 false, label %bb756, label %bb59519 20bb595:		; preds = %cond_next44821	br label %bb60922 23bb609:		; preds = %bb756, %bb59524	%termnum.6240.0 = phi i32 [ 2, %bb595 ], [ %termnum.6, %bb756 ]		; <i32> [#uses=1]25	%tmp755 = add i32 %termnum.6240.0, 1		; <i32> [#uses=1]26	br label %bb75627 28bb756:		; preds = %bb609, %cond_next44829	%termnum.6 = phi i32 [ %tmp755, %bb609 ], [ 2, %cond_next448 ]		; <i32> [#uses=1]30	br label %bb60931}32