[dsymutil] Discard useless location attributes.
[oota-llvm.git] / test / Analysis / RegionInfo / condition_forward_edge.ll
1 ; REQUIRES: asserts
2 ; RUN: opt -regions -analyze < %s | FileCheck %s
3 ; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
4 ; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
5 ; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
6
7 define void @normal_condition() nounwind {
8 0:
9         br label %"1"
10 1:
11         br i1 1, label %"2", label %"3"
12 2:
13         br label %"3"
14 3:
15         ret void
16 }
17 ; CHECK-NOT: =>
18 ; CHECK: [0] 0 => <Function Return>
19 ; CHECK: [1] 1 => 3
20
21 ; STAT: 2 region - The # of regions
22
23 ; BBIT: 0, 1, 2, 3,
24 ; BBIT: 1, 2,
25
26 ; RNIT: 0, 1 => 3, 3,
27 ; RNIT: 1, 2,