[OCaml] Llvm_target: fix typo (Int_val instead of Int64_val)
[oota-llvm.git] / test / Analysis / RegionInfo / nested_loops.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
5 ; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
6 ; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
7
8 define internal fastcc zeroext i8 @handle_compress() nounwind {
9 entry:
10   br label %outer
11
12 outer:
13   br label %body
14
15 body:
16   br i1 1, label %exit172, label %end
17
18 exit172:
19   br i1 1, label %end, label %outer
20
21 end:
22   ret i8 1
23 }
24 ; CHECK-NOT: =>
25 ; CHECK: [0] entry => <Function Return>
26 ; CHECK-NEXT: [1] outer => end
27
28 ; STAT: 2 region - The # of regions
29
30 ; BBIT: entry, outer, body, exit172, end,
31 ; BBIT: outer, body, exit172,
32
33 ; RNIT: entry, outer => end, end,
34 ; RNIT: outer, body, exit172,