llvm.org GIT mirror llvm / af6aa07
Test that crashes the ppc backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24546 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 14 years ago
1 changed file(s) with 17 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc
1 target endian = big
2 target pointersize = 32
3 target triple = "powerpc-apple-darwin8.2.0"
4 implementation ; Functions:
5
6 void %bar(int %G, int %E, int %F, int %A, int %B, int %C, int %D, sbyte* %fmt, ...) {
7 %ap = alloca sbyte* ; [#uses=2]
8 call void %llvm.va_start( sbyte** %ap )
9 %tmp.1 = load sbyte** %ap ; [#uses=1]
10 %tmp.0 = call double %foo( sbyte* %tmp.1 ) ; [#uses=0]
11 ret void
12 }
13
14 declare void %llvm.va_start(sbyte**)
15
16 declare double %foo(sbyte*)