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 @handle_compress() nounwind {
16 br i1 1, label %else, label %true77
19 br i1 1, label %then83, label %else
28 br i1 1, label %end, label %outer
35 ; CHECK: [0] entry => <Function Return>
36 ; CHECK-NEXT: [1] outer => end
37 ; CHECK-NEXT: [2] outer => else
39 ; STAT: 3 region - The # of regions
40 ; STAT: 1 region - The # of simple regions
42 ; BBIT: entry, outer, body, else, else106, end, true77, then83,
43 ; BBIT: outer, body, else, else106, true77, then83,
44 ; BBIT: outer, body, true77, then83,
46 ; RNIT: entry, outer => end, end,
47 ; RNIT: outer => else, else, else106,
48 ; RNIT: outer, body, true77, then83,