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