1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Test that crashes the ppc backend.

llvm-svn: 24546
This commit is contained in:
Chris Lattner 2005-11-30 20:40:28 +00:00
parent 99e894a36f
commit 74cdf784cc

View File

@ -0,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*)