blob: 665429b4e8eec23b4fd69a54a9ba31809bd4b01a [file] [log] [blame]
Chris Lattneraf6aa072005-11-30 20:40:28 +00001; RUN: llvm-as < %s | llc
2target endian = big
3target pointersize = 32
4target triple = "powerpc-apple-darwin8.2.0"
5implementation ; Functions:
6
7void %bar(int %G, int %E, int %F, int %A, int %B, int %C, int %D, sbyte* %fmt, ...) {
8 %ap = alloca sbyte* ; <sbyte**> [#uses=2]
9 call void %llvm.va_start( sbyte** %ap )
10 %tmp.1 = load sbyte** %ap ; <sbyte*> [#uses=1]
11 %tmp.0 = call double %foo( sbyte* %tmp.1 ) ; <double> [#uses=0]
12 ret void
13}
14
15declare void %llvm.va_start(sbyte**)
16
17declare double %foo(sbyte*)