[llvm-commits] CVS: llvm/test/Regression/Jello/test-arith.ll test-branch.ll test-call.ll test-loadstore.ll test-logical.ll test-ret.ll

Chris Lattner lattner at cs.uiuc.edu
Wed Dec 4 11:16:00 PST 2002


Changes in directory llvm/test/Regression/Jello:

test-arith.ll updated: 1.3 -> 1.4
test-branch.ll updated: 1.2 -> 1.3
test-call.ll updated: 1.1 -> 1.2
test-loadstore.ll updated: 1.1 -> 1.2
test-logical.ll updated: 1.1 -> 1.2
test-ret.ll updated: 1.1 -> 1.2

---
Log message:

Add main functions to benchmarks


---
Diffs of the changes:

Index: llvm/test/Regression/Jello/test-arith.ll
diff -u llvm/test/Regression/Jello/test-arith.ll:1.3 llvm/test/Regression/Jello/test-arith.ll:1.4
--- llvm/test/Regression/Jello/test-arith.ll:1.3	Sat Nov  2 14:54:11 2002
+++ llvm/test/Regression/Jello/test-arith.ll	Wed Dec  4 11:15:07 2002
@@ -1,5 +1,5 @@
 
-void %test() {
+void %main() {
 	%A = add sbyte 0, 12
 	%B = sub sbyte %A, %A
 	%C = mul sbyte %B, %B


Index: llvm/test/Regression/Jello/test-branch.ll
diff -u llvm/test/Regression/Jello/test-branch.ll:1.2 llvm/test/Regression/Jello/test-branch.ll:1.3
--- llvm/test/Regression/Jello/test-branch.ll:1.2	Thu Nov 21 17:30:08 2002
+++ llvm/test/Regression/Jello/test-branch.ll	Wed Dec  4 11:15:07 2002
@@ -2,7 +2,7 @@
 void %main() {
 	br label %Test
 Test:
-	%X = seteq int 0, 4
+	%X = setne int 0, 4
 	br bool %X, label %Test, label %Label
 Label:
 	ret void


Index: llvm/test/Regression/Jello/test-call.ll
diff -u llvm/test/Regression/Jello/test-call.ll:1.1 llvm/test/Regression/Jello/test-call.ll:1.2
--- llvm/test/Regression/Jello/test-call.ll:1.1	Tue Dec  3 14:30:03 2002
+++ llvm/test/Regression/Jello/test-call.ll	Wed Dec  4 11:15:07 2002
@@ -1,7 +1,7 @@
 
-declare void %foo()
+declare void %exit(int)
 
-void %test1() {
-	call void %foo()
+void %main() {
+	call void %exit(int 1)
 	ret void
 }


Index: llvm/test/Regression/Jello/test-loadstore.ll
diff -u llvm/test/Regression/Jello/test-loadstore.ll:1.1 llvm/test/Regression/Jello/test-loadstore.ll:1.2
--- llvm/test/Regression/Jello/test-loadstore.ll:1.1	Sun Nov 17 15:06:13 2002
+++ llvm/test/Regression/Jello/test-loadstore.ll	Wed Dec  4 11:15:07 2002
@@ -10,3 +10,11 @@
 	store int %V, int* %P
 	ret void
 }
+
+void %main() {
+	%A = alloca sbyte
+	%B = alloca short
+	%C = alloca int
+	call void %test(sbyte* %A, short* %B, int* %C)
+	ret void
+}


Index: llvm/test/Regression/Jello/test-logical.ll
diff -u llvm/test/Regression/Jello/test-logical.ll:1.1 llvm/test/Regression/Jello/test-logical.ll:1.2
--- llvm/test/Regression/Jello/test-logical.ll:1.1	Sat Nov  2 14:04:02 2002
+++ llvm/test/Regression/Jello/test-logical.ll	Wed Dec  4 11:15:07 2002
@@ -1,5 +1,5 @@
 
-void %test() {
+void %main() {
 	%A = and sbyte 4, 8
 	%B = or sbyte %A, 7
 	%C = xor sbyte %B, %A


Index: llvm/test/Regression/Jello/test-ret.ll
diff -u llvm/test/Regression/Jello/test-ret.ll:1.1 llvm/test/Regression/Jello/test-ret.ll:1.2
--- llvm/test/Regression/Jello/test-ret.ll:1.1	Thu Nov 21 11:18:37 2002
+++ llvm/test/Regression/Jello/test-ret.ll	Wed Dec  4 11:15:07 2002
@@ -5,7 +5,7 @@
 ubyte %test() { ret ubyte 1 }
 short %test() { ret short -1 }
 ushort %test() { ret ushort 65535 }
-int  %test() { ret int -1 }
+int  %main() { ret int -1 }
 uint %test() { ret uint 4 }
 ;long %test() { ret void }
 ;ulong %test() { ret void }





More information about the llvm-commits mailing list