[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/2005-11-30-vastart-crash.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed Nov 30 12:40:39 PST 2005
Changes in directory llvm/test/Regression/CodeGen/PowerPC:
2005-11-30-vastart-crash.ll added (r1.1)
---
Log message:
Test that crashes the ppc backend.
---
Diffs of the changes: (+17 -0)
2005-11-30-vastart-crash.ll | 17 +++++++++++++++++
1 files changed, 17 insertions(+)
Index: llvm/test/Regression/CodeGen/PowerPC/2005-11-30-vastart-crash.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/2005-11-30-vastart-crash.ll:1.1
*** /dev/null Wed Nov 30 14:40:38 2005
--- llvm/test/Regression/CodeGen/PowerPC/2005-11-30-vastart-crash.ll Wed Nov 30 14:40:28 2005
***************
*** 0 ****
--- 1,17 ----
+ ; RUN: llvm-as < %s | llc
+ target endian = big
+ target pointersize = 32
+ target triple = "powerpc-apple-darwin8.2.0"
+ implementation ; Functions:
+
+ void %bar(int %G, int %E, int %F, int %A, int %B, int %C, int %D, sbyte* %fmt, ...) {
+ %ap = alloca sbyte* ; <sbyte**> [#uses=2]
+ call void %llvm.va_start( sbyte** %ap )
+ %tmp.1 = load sbyte** %ap ; <sbyte*> [#uses=1]
+ %tmp.0 = call double %foo( sbyte* %tmp.1 ) ; <double> [#uses=0]
+ ret void
+ }
+
+ declare void %llvm.va_start(sbyte**)
+
+ declare double %foo(sbyte*)
More information about the llvm-commits
mailing list