source: icGREP/icgrep-devel/llvm-3.8.0.src/test/Analysis/RegionInfo/condition_same_exit.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 759 bytes
Line 
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
7define void @normal_condition() nounwind {
80:
9        br i1 1, label %"1", label %"4"
10
111:
12        br i1 1, label %"2", label %"3"
132:
14        br label %"4"
153:
16        br label %"4"
174:
18        ret void
19}
20; CHECK-NOT: =>
21; CHECK: [0] 0 => <Function Return>
22; CHECK-NEXT: [1] 0 => 4
23; CHECK-NEXT:   [2] 1 => 4
24; STAT: 3 region - The # of regions
25
26; BBIT: 0, 1, 2, 4, 3,
27; BBIT: 0, 1, 2, 3,
28; BBIT: 1, 2, 3,
29
30; RNIT: 0 => 4, 4,
31; RNIT: 0, 1 => 4,
32; RNIT: 1, 2, 3,
Note: See TracBrowser for help on using the repository browser.