[OCaml] Llvm_target: fix typo (Int_val instead of Int64_val)
[oota-llvm.git] / test / Analysis / RegionInfo / exit_in_condition.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 internal fastcc zeroext i8 @handle_compress() nounwind {
8 entry:
9   br label %outer
10
11 outer:
12   br label %body
13
14 body:
15   br i1 1, label %body.i, label %if.end
16
17 body.i:
18   br i1 1, label %end, label %if.end
19
20 if.end:
21   br label %if.then64
22
23 if.then64:
24   br label %outer
25
26 end:
27   ret i8 1
28 }
29 ; CHECK-NOT: =>
30 ; CHECK: [0] entry => <Function Return>
31 ; CHECK-NEXT: [1] outer => end
32 ; STAT: 2 region - The # of regions
33 ; STAT: 1 region - The # of simple regions
34
35 ; BBIT: entry, outer, body, body.i, end, if.end, if.then64,
36 ; BBIT: outer, body, body.i, if.end, if.then64,
37
38 ; RNIT: entry, outer => end, end,
39 ; RNIT: outer, body, body.i, if.end, if.then64,