3 ; RUN: opt < %s -passes='print<regions>' 2>&1 | FileCheck %s
4 ; RUN: opt < %s -passes='print<regions>' -stats 2>&1 | FileCheck -check-prefix=STAT %s
5 ; RUN: opt -passes='print<regions>' -print-region-style=bb < %s 2>&1 | FileCheck -check-prefix=BBIT %s
6 ; RUN: opt -passes='print<regions>' -print-region-style=rn < %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"
24 br i1 1, label %"2", label %"10"
28 br i1 1, label %"13", label %"14"
41 ; CHECK: [0] 0 => <Function Return>
42 ; CHECK-NEXT: [1] 2 => 10
43 ; CHECK-NEXT: [2] 5 => 6
44 ; STAT: 3 region - The # of regions
45 ; STAT: 1 region - The # of simple regions
47 ; BBIT: 0, 7, 1, 2, 5, 11, 6, 10, 8, 9, 13, 14, 12, 3, 4,
48 ; BBIT: 2, 5, 11, 6, 12,
50 ; RNIT: 0, 7, 1, 2 => 10, 10, 8, 9, 13, 14, 3, 4,