2 ; RUN: opt -regions -analyze < %s
3 ; RUN: opt -regions -stats -disable-output < %s 2>&1 | FileCheck -check-prefix=STAT %s
5 ; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
6 ; RUN: opt -regions -print-region-style=rn -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
8 define void @normal_condition() nounwind {
12 br i1 1, label %"1", label %"8"
14 br i1 1, label %"2", label %"3"
18 br i1 1, label %"11", label %"12"
28 br i1 1, label %"13", label %"14"
41 ; CHECK:[0] 0 => <Function Return>
43 ; STAT: 1 region - The # of regions
45 ; BBIT: 0, 7, 1, 2, 5, 11, 6, 12, 3, 4, 8, 9, 13, 10, 14,
47 ; RNIT: 0, 7, 1, 2, 5, 11, 6, 12, 3, 4, 8, 9, 13, 10, 14,