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 %"6", label %"2"
14 br i1 1, label %"3", label %"4"
22 br i1 1, label %"7", label %"9"
32 ; CHECK: [0] 0 => <Function Return>
33 ; CHECK-NEXT: [1] 1 => 6
34 ; CHECK-NEXT: [2] 2 => 7
35 ; CHECK-NEXT: [3] 2 => 5
36 ; STAT: 4 region - The # of regions
37 ; STAT: 1 region - The # of simple regions
39 ; BBIT: 0, 1, 6, 2, 3, 5, 8, 7, 9, 4,
40 ; BBIT: 1, 2, 3, 5, 8, 7, 9, 4,
41 ; BBIT: 2, 3, 5, 8, 9, 4,
46 ; RNIT: 2 => 5, 5, 8, 9,