source: icGREP/icgrep-devel/llvm-3.8.0.src/test/Analysis/RegionInfo/infinite_loop.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: 426 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.