[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/2003-08-23-DeadBlockTest.llx

Chris Lattner lattner at cs.uiuc.edu
Fri Jul 2 00:45:11 PDT 2004


Changes in directory llvm/test/Regression/CodeGen/X86:

2003-08-23-DeadBlockTest.llx updated: 1.2 -> 1.3

---
Log message:

Make this testcase more interesting


---
Diffs of the changes:  (+6 -5)

Index: llvm/test/Regression/CodeGen/X86/2003-08-23-DeadBlockTest.llx
diff -u llvm/test/Regression/CodeGen/X86/2003-08-23-DeadBlockTest.llx:1.2 llvm/test/Regression/CodeGen/X86/2003-08-23-DeadBlockTest.llx:1.3
--- llvm/test/Regression/CodeGen/X86/2003-08-23-DeadBlockTest.llx:1.2	Mon Sep 15 15:02:53 2003
+++ llvm/test/Regression/CodeGen/X86/2003-08-23-DeadBlockTest.llx	Fri Jul  2 00:43:51 2004
@@ -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
 }
 





More information about the llvm-commits mailing list