1
; RUN: llc < %s -march=x86 -o - | not grep 10
3
declare void @llvm.va_start(i8*) nounwind
5
declare void @llvm.va_copy(i8*, i8*) nounwind
7
declare void @llvm.va_end(i8*) nounwind
9
define 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]