1; REQUIRES: asserts 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 6 7; RUN: opt < %s -passes='print<regions>' 2>&1 | FileCheck %s 8 9define void @normal_condition() nounwind { 105: 11 br label %"0" 12 130: 14 br label %"1" 151: 16 br i1 1, label %"2", label %"3" 172: 18 ret void 193: 20 br i1 1, label %"1", label %"4" 214: 22 br label %"0" 23} 24 25; CHECK-NOT: => 26; CHECK: [0] 5 => <Function Return> 27; CHECK: [1] 0 => 2 28 29; STAT: 2 region - The # of regions 30; STAT: 1 region - The # of simple regions 31 32; BBIT: 5, 0, 1, 2, 3, 4, 33; BBIT: 0, 1, 3, 4, 34 35; RNIT: 5, 0 => 2, 2, 36; RNIT: 0, 1, 3, 4, 37