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

Chris Lattner lattner at cs.uiuc.edu
Sun Jan 12 18:58:08 PST 2003


Changes in directory llvm/test/Regression/Jello:

test-loadstore.ll updated: 1.4 -> 1.5

---
Log message:

Add test for longs


---
Diffs of the changes:

Index: llvm/test/Regression/Jello/test-loadstore.ll
diff -u llvm/test/Regression/Jello/test-loadstore.ll:1.4 llvm/test/Regression/Jello/test-loadstore.ll:1.5
--- llvm/test/Regression/Jello/test-loadstore.ll:1.4	Sat Dec 28 14:00:33 2002
+++ llvm/test/Regression/Jello/test-loadstore.ll	Sun Jan 12 18:57:04 2003
@@ -1,5 +1,5 @@
 
-void %test(sbyte* %P, short* %P, int* %P) {
+void %test(sbyte* %P, short* %P, int* %P, long* %P) {
 	%V = load sbyte* %P
 	store sbyte %V, sbyte* %P
 
@@ -8,6 +8,10 @@
 
 	%V = load int* %P
 	store int %V, int* %P
+
+	%V = load long* %P
+	store long %V, long* %P
+
 	ret void
 }
 
@@ -22,7 +26,8 @@
 	%A = alloca sbyte
 	%B = alloca short
 	%C = alloca int
-	call void %test(sbyte* %A, short* %B, int* %C)
+	%D = alloca long
+	call void %test(sbyte* %A, short* %B, int* %C, long* %D)
 	call uint %varalloca(uint 7)
 
 	ret int 0





More information about the llvm-commits mailing list