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

Chris Lattner lattner at cs.uiuc.edu
Sat Dec 28 14:02:06 PST 2002


Changes in directory llvm/test/Regression/Jello:

test-call.ll updated: 1.4 -> 1.5

---
Log message:

Add another simple call


---
Diffs of the changes:

Index: llvm/test/Regression/Jello/test-call.ll
diff -u llvm/test/Regression/Jello/test-call.ll:1.4 llvm/test/Regression/Jello/test-call.ll:1.5
--- llvm/test/Regression/Jello/test-call.ll:1.4	Fri Dec 13 08:15:20 2002
+++ llvm/test/Regression/Jello/test-call.ll	Sat Dec 28 14:01:07 2002
@@ -1,9 +1,14 @@
 
 declare void %exit(int)
 
+int %test(sbyte %C, short %S) {
+  %X = cast short %S to int
+  ret int %X
+}
 
 void %FP(void(int) * %F) {
-	call void %F(int 0)
+	%X = call int %test(sbyte 123, short 1024)
+	call void %F(int %X)
 	ret void
 }
 





More information about the llvm-commits mailing list