[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/calls.ll

Chris Lattner lattner at cs.uiuc.edu
Tue May 16 21:20:25 PDT 2006



Changes in directory llvm/test/Regression/CodeGen/PowerPC:

calls.ll updated: 1.1 -> 1.2
---
Log message:

add an external symbol testcase


---
Diffs of the changes:  (+6 -1)

 calls.ll |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)


Index: llvm/test/Regression/CodeGen/PowerPC/calls.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/calls.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/calls.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/calls.ll:1.1	Tue May 16 22:57:31 2006
+++ llvm/test/Regression/CodeGen/PowerPC/calls.ll	Tue May 16 23:20:13 2006
@@ -1,6 +1,6 @@
 ; Test various forms of calls.
 
-; RUN: llvm-as < %s | llc -march=ppc32 | grep 'bl ' | wc -l | grep 1 &&
+; RUN: llvm-as < %s | llc -march=ppc32 | grep 'bl ' | wc -l | grep 2 &&
 ; RUN: llvm-as < %s | llc -march=ppc32 | grep 'bctrl' | wc -l | grep 1 &&
 ; RUN: llvm-as < %s | llc -march=ppc32 | grep 'bla ' | wc -l | grep 1
 
@@ -11,6 +11,11 @@
 	ret void
 }
 
+void %test_extsym(sbyte *%P) {
+	free sbyte* %P
+	ret void
+}
+
 void %test_indirect(void()* %fp) {
 	call void %fp()
 	ret void






More information about the llvm-commits mailing list