1 ; RUN: opt -regions -print-region-style=bb -analyze -enable-new-pm=0 < %s 2>&1 | FileCheck -check-prefix=BBIT %s
2 ; RUN: opt -regions -print-region-style=rn -analyze -enable-new-pm=0 < %s 2>&1 | FileCheck -check-prefix=RNIT %s
3 ; RUN: opt -passes='print<regions>' -print-region-style=bb -disable-output < %s 2>&1 | FileCheck -check-prefix=BBIT %s
4 ; RUN: opt -passes='print<regions>' -print-region-style=rn -disable-output < %s 2>&1 | FileCheck -check-prefix=RNIT %s
6 define void @normal_condition_0() nounwind {
7 bb38: ; preds = %bb34, %bb34, %bb37
8 switch i32 undef, label %bb42 [
14 bb42: ; preds = %bb38, %bb38, %bb41
18 ; BBIT: bb38, bb42, bb41,
21 ; RNIT: bb38 => bb42, bb42,
24 define void @normal_condition_1() nounwind {
25 bb38: ; preds = %bb34, %bb34, %bb37
26 switch i32 undef, label %bb41 [
32 bb42: ; preds = %bb38, %bb38, %bb41
36 ; BBIT: bb38, bb41, bb42,
39 ; RNIT: bb38 => bb42, bb42,