[llvm-commits] CVS: llvm/test/Regression/Jello/test-arith.ll test-shift.ll

Misha Brukman brukman at cs.uiuc.edu
Thu Dec 12 23:45:01 PST 2002


Changes in directory llvm/test/Regression/Jello:

test-arith.ll updated: 1.4 -> 1.5
test-shift.ll updated: 1.1 -> 1.2

---
Log message:

Making main() return 0 so that we know it ran successfully when it exits.


---
Diffs of the changes:

Index: llvm/test/Regression/Jello/test-arith.ll
diff -u llvm/test/Regression/Jello/test-arith.ll:1.4 llvm/test/Regression/Jello/test-arith.ll:1.5
--- llvm/test/Regression/Jello/test-arith.ll:1.4	Wed Dec  4 11:15:07 2002
+++ llvm/test/Regression/Jello/test-arith.ll	Thu Dec 12 23:44:21 2002
@@ -1,5 +1,5 @@
 
-void %main() {
+int %main() {
 	%A = add sbyte 0, 12
 	%B = sub sbyte %A, %A
 	%C = mul sbyte %B, %B
@@ -24,5 +24,5 @@
 	%F = div uint 5, 6
 	%G = rem uint 6, 5
 
-	ret void
+	ret int 0
 }


Index: llvm/test/Regression/Jello/test-shift.ll
diff -u llvm/test/Regression/Jello/test-shift.ll:1.1 llvm/test/Regression/Jello/test-shift.ll:1.2
--- llvm/test/Regression/Jello/test-shift.ll:1.1	Thu Oct 31 17:05:22 2002
+++ llvm/test/Regression/Jello/test-shift.ll	Thu Dec 12 23:44:21 2002
@@ -1,5 +1,5 @@
 ; test shifts
-void %main() {
+int %main() {
     %i = add int 10, 0
     %u = add uint 20, 0
     %shamt = add ubyte 0, 0
@@ -23,5 +23,5 @@
     %temp07 = shr int %i, ubyte 6
     ;  1                     1               1
     %temp08 = shr uint %u, ubyte 7
-    ret void
+    ret int 0
 }





More information about the llvm-commits mailing list