Make this testcase more interesting
authorChris Lattner <sabre@nondot.org>
Fri, 2 Jul 2004 05:43:51 +0000 (05:43 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 2 Jul 2004 05:43:51 +0000 (05:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14561 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2003-08-23-DeadBlockTest.llx

index a0f8362667caf32e8d5aa65f560ed15504406871..9efbf09b42665b035965bba55fc471be646e0b97 100644 (file)
@@ -2,11 +2,12 @@
 
 implementation
 
-void %test() {
-entry:   ret void 
+int %test() {
+entry:   ret int 7 
 Test:   ; dead block!
-       call void %test()
-       call void %test()
-       ret void
+       %A = call int %test()
+       %B = call int %test()
+       %C = add int %A, %B
+       ret int %C
 }