Temporarily Revert "Nuke the old JIT." as it's not quite ready to
[oota-llvm.git] / test / ExecutionEngine / 2003-05-06-LivenessClobber.ll
1 ; This testcase should return with an exit code of 1.
2 ;
3 ; RUN: not %lli %s
4 ; XFAIL: arm
5
6 @test = global i64 0            ; <i64*> [#uses=1]
7
8 define internal i64 @test.upgrd.1() {
9         %tmp.0 = load i64* @test                ; <i64> [#uses=1]
10         %tmp.1 = add i64 %tmp.0, 1              ; <i64> [#uses=1]
11         ret i64 %tmp.1
12 }
13
14 define i32 @main() {
15         %L = call i64 @test.upgrd.1( )          ; <i64> [#uses=1]
16         %I = trunc i64 %L to i32                ; <i32> [#uses=1]
17         ret i32 %I
18 }
19
20