make this test have a deterministic result.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44404 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-11-28 18:20:49 +00:00
parent afa3b6da11
commit 0a0cfdf825

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s -f -o %t.bc ; RUN: llvm-as < %s -f -o %t.bc
; RUN: not lli -debug-only=jit %t.bc |& not grep {Finished CodeGen of .*Function: F} ; RUN: lli -debug-only=jit %t.bc |& not grep {Finished CodeGen of .*Function: F}
@.str_1 = internal constant [7 x i8] c"IN F!\0A\00" ; <[7 x i8]*> [#uses=1] @.str_1 = internal constant [7 x i8] c"IN F!\0A\00" ; <[7 x i8]*> [#uses=1]
@.str_2 = internal constant [7 x i8] c"IN G!\0A\00" ; <[7 x i8]*> [#uses=1] @.str_2 = internal constant [7 x i8] c"IN G!\0A\00" ; <[7 x i8]*> [#uses=1]
@Ptrs = internal constant [2 x void (...)*] [ void (...)* bitcast (void ()* @F to void (...)*), void (...)* bitcast (void ()* @G to void (...)*) ] ; <[2 x void (...)*]*> [#uses=1] @Ptrs = internal constant [2 x void (...)*] [ void (...)* bitcast (void ()* @F to void (...)*), void (...)* bitcast (void ()* @G to void (...)*) ] ; <[2 x void (...)*]*> [#uses=1]
@ -25,5 +25,5 @@ entry:
%tmp.5 = load void (...)** %tmp.4 ; <void (...)*> [#uses=1] %tmp.5 = load void (...)** %tmp.4 ; <void (...)*> [#uses=1]
%tmp.5_c = bitcast void (...)* %tmp.5 to void ()* ; <void ()*> [#uses=1] %tmp.5_c = bitcast void (...)* %tmp.5 to void ()* ; <void ()*> [#uses=1]
call void %tmp.5_c( ) call void %tmp.5_c( )
ret i32 undef ret i32 0
} }