• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; REQUIRES: asserts
2; RUN: opt -regions -analyze < %s
3; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
4
5define void @normal_condition() nounwind {
60:
7	br label %"1"
81:
9	br i1 1, label %"2", label %"3"
102:
11	br label %"2"
123:
13	br label %"4"
144:
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