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