1; RUN: llc < %s -march=x86 -o - | not grep 10
2
3declare void @llvm.va_start(i8*) nounwind
4
5declare void @llvm.va_copy(i8*, i8*) nounwind
6
7declare void @llvm.va_end(i8*) nounwind
8
9define x86_fp80 @test(...) nounwind {
10	%ap = alloca i8*		; <i8**> [#uses=3]
11	%v1 = bitcast i8** %ap to i8*		; <i8*> [#uses=1]
12	call void @llvm.va_start(i8* %v1)
13	%t1 = va_arg i8** %ap, x86_fp80		; <x86_fp80> [#uses=1]
14	%t2 = va_arg i8** %ap, x86_fp80		; <x86_fp80> [#uses=1]
15	%t = fadd x86_fp80 %t1, %t2		; <x86_fp80> [#uses=1]
16	ret x86_fp80 %t
17}
18