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