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 internal fastcc zeroext i8 @loops_1() nounwind {
10 br i1 1, label %outer , label %a
19 br i1 1, label %land, label %if
22 br i1 1, label %exit, label %end
25 br i1 1, label %if, label %end
34 ; CHECK: [0] entry => <Function Return>
35 ; CHECK-NEXT: [1] entry => end
36 ; STAT: 2 region - The # of regions
38 ; BBIT: entry, outer, body, land, exit, if, end, a,
39 ; BBIT: entry, outer, body, land, exit, if, a,
41 ; RNIT: entry => end, end,
42 ; RNIT: entry, outer, body, land, exit, if, a,