1; REQUIRES: asserts 2 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 7 8define void @normal_condition() nounwind { 9"5": 10 br label %"0" 11 12"0": 13 br label %"1" 14"1": 15 br i1 1, label %"2", label %"3" 16"2": 17 ret void 18"3": 19 br i1 1, label %"1", label %"4" 20"4": 21 br label %"0" 22} 23 24; CHECK-NOT: => 25; CHECK: [0] 5 => <Function Return> 26; CHECK: [1] 0 => 2 27 28; STAT: 2 region - The # of regions 29; STAT: 1 region - The # of simple regions 30 31; BBIT: 5, 0, 1, 2, 3, 4, 32; BBIT: 0, 1, 3, 4, 33 34; RNIT: 5, 0 => 2, 2, 35; RNIT: 0, 1, 3, 4, 36