• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; REQUIRES: asserts
2; RUN: opt -regions -analyze -enable-new-pm=0 < %s
3; RUN: opt -passes='print<regions>' -disable-output < %s 2>&1
4; RUN: opt -regions -stats -disable-output < %s 2>&1 | FileCheck -check-prefix=STAT %s
5
6define void @normal_condition() nounwind {
70:
8	br label %1
91:
10	br i1 1, label %2, label %3
112:
12	br label %2
133:
14	br label %4
154:
16	ret void
17}
18; CHECK-NOT: =>
19; CHECK: [0] 0 => <Function Return>
20; STAT: 1 region - The # of regions
21