1 ; REQUIRES: asserts 2 ; RUN: opt -regions -analyze < %s 3 ; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s 4 5 define void @normal_condition() nounwind { 6 0: 7 br label %"1" 8 1: 9 br i1 1, label %"2", label %"3" 10 2: 11 br label %"2" 12 3: 13 br label %"4" 14 4: 15 ret void 16 } 17 ; CHECK-NOT: => 18 ; CHECK: [0] 0 => <Function Return> 19 ; CHECK: [1] 1 => 4 20 ; STAT: 2 region - The # of regions 21 ; STAT: 1 region - The # of simple regions 22