1 ; RUN: opt -regions %s 2 define i32 @main() nounwind { 3 entry: 4 br label %for.cond 5 6 test: 7 br label %for.cond 8 9 for.cond: ; preds = %for.inc, %entry 10 br i1 true, label %for.body, label %for.end 11 12 for.body: ; preds = %for.cond 13 br label %for.inc 14 15 for.inc: ; preds = %for.body 16 br label %for.cond 17 18 for.end: ; preds = %for.cond 19 ret i32 0 20 } 21