[llvm-commits] CVS: llvm/test/Regression/Jello/test-loadstore.ll
Chris Lattner
lattner at cs.uiuc.edu
Sat Dec 28 14:02:01 PST 2002
Changes in directory llvm/test/Regression/Jello:
test-loadstore.ll updated: 1.3 -> 1.4
---
Log message:
Add a variable sized alloca to test
---
Diffs of the changes:
Index: llvm/test/Regression/Jello/test-loadstore.ll
diff -u llvm/test/Regression/Jello/test-loadstore.ll:1.3 llvm/test/Regression/Jello/test-loadstore.ll:1.4
--- llvm/test/Regression/Jello/test-loadstore.ll:1.3 Fri Dec 13 03:28:50 2002
+++ llvm/test/Regression/Jello/test-loadstore.ll Sat Dec 28 14:00:33 2002
@@ -11,10 +11,19 @@
ret void
}
+uint %varalloca(uint %Size) {
+ %X = alloca uint, uint %Size ;; Variable sized alloca
+ store uint %Size, uint* %X
+ %Y = load uint* %X
+ ret uint %Y
+}
+
int %main() {
%A = alloca sbyte
%B = alloca short
%C = alloca int
call void %test(sbyte* %A, short* %B, int* %C)
+ call uint %varalloca(uint 7)
+
ret int 0
}
More information about the llvm-commits
mailing list