1 ; RUN: llc < %s -mtriple=i686-- -o - | FileCheck %s
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
11 define x86_fp80 @test(...) nounwind {
12 %ap = alloca i8* ; <i8**> [#uses=3]
13 %v1 = bitcast i8** %ap to i8* ; <i8*> [#uses=1]
14 call void @llvm.va_start(i8* %v1)
15 %t1 = va_arg i8** %ap, x86_fp80 ; <x86_fp80> [#uses=1]
16 %t2 = va_arg i8** %ap, x86_fp80 ; <x86_fp80> [#uses=1]
17 %t = fadd x86_fp80 %t1, %t2 ; <x86_fp80> [#uses=1]