| ; RUN: opt -regions -analyze < %s | FileCheck %s |
| ; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s |
| ; RUN: opt -regions -print-region-style=bb -analyze < %s |& FileCheck -check-prefix=BBIT %s |
| ; RUN: opt -regions -print-region-style=rn -analyze < %s |& FileCheck -check-prefix=RNIT %s |
| define void @normal_condition() nounwind { |
| br i1 1, label %"2", label %"3" |
| br i1 1, label %"1", label %"4" |
| ; CHECK: [0] 5 => <Function Return> |
| ; STAT: 2 region - The # of regions |
| ; STAT: 1 region - The # of simple regions |
| ; BBIT: 5, 0, 1, 2, 3, 4, |