1 ; Exit blocks need to be updated for all nested loops... 2 3 ; RUN: opt < %s -loop-simplify 4 5 define i32 @yyparse() { 6 bb0: 7 br i1 false, label %UnifiedExitNode, label %bb19 8 bb19: ; preds = %bb28, %bb0 9 br i1 false, label %bb28, label %UnifiedExitNode 10 bb28: ; preds = %bb32, %bb19 11 br i1 false, label %bb32, label %bb19 12 bb32: ; preds = %bb28 13 br i1 false, label %UnifiedExitNode, label %bb28 14 UnifiedExitNode: ; preds = %bb32, %bb19, %bb0 15 ret i32 0 16 } 17 18