| ; RUN: opt -regions -analyze < %s | FileCheck %s |
| ; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s |
| ; RUN: opt -regions -print-region-style=bb -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s |
| ; RUN: opt -regions -print-region-style=rn -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s |
| ; RUN: opt < %s -passes='print<regions>' 2>&1 | FileCheck %s |
| define void @normal_condition() nounwind { |
| br i1 1, label %"2", label %"3" |
| ; CHECK: [0] 0 => <Function Return> |
| ; STAT: 2 region - The # of regions |