1 ; RUN: opt < %s -tailduplicate | llc 2 ; PR2323 3 4 define i32 @func_27(i32 %p_28) nounwind { 5 entry: 6 %tmp125 = trunc i32 %p_28 to i8 ; <i8> [#uses=1] 7 %tmp5.i = icmp eq i8 %tmp125, 0 ; <i1> [#uses=1] 8 br i1 %tmp5.i, label %bb8.i, label %bb.i 9 10 bb.i: ; preds = %entry 11 br label %bb39.i 12 13 bb8.i: ; preds = %entry 14 br label %bb11.i 15 16 bb11.i: ; preds = %bb39.i, %bb8.i 17 %tmp126 = trunc i32 %p_28 to i8 ; <i8> [#uses=1] 18 br label %bb39.i 19 20 bb39.i: ; preds = %bb11.i, %bb.i 21 %tmp127 = trunc i32 %p_28 to i8 ; <i8> [#uses=1] 22 br label %bb11.i 23 24 func_29.exit: ; No predecessors! 25 ret i32 undef 26 } 27