make this test have a deterministic result.
authorChris Lattner <sabre@nondot.org>
Wed, 28 Nov 2007 18:20:49 +0000 (18:20 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 28 Nov 2007 18:20:49 +0000 (18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44404 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/2004-12-04-LazyCompileFuncs.ll

index d72f654c0cdefb3b944458d85128f8bbcf16c522..0e2cbcb0e22accbb02e787948353d6d8c3061161 100644 (file)
@@ -1,5 +1,5 @@
 ; 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_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]
@@ -25,5 +25,5 @@ entry:
         %tmp.5 = load void (...)** %tmp.4               ; <void (...)*> [#uses=1]
         %tmp.5_c = bitcast void (...)* %tmp.5 to void ()*               ; <void ()*> [#uses=1]
         call void %tmp.5_c( )
-        ret i32 undef
+        ret i32 0
 }