1 ; RUN: llc < %s -mtriple=i686-- -o - | FileCheck %s
3 declare void @llvm.va_start(ptr) nounwind
5 declare void @llvm.va_copy(ptr, ptr) nounwind
7 declare void @llvm.va_end(ptr) nounwind
11 define x86_fp80 @test(...) nounwind {
12 %ap = alloca ptr ; <ptr> [#uses=3]
13 call void @llvm.va_start(ptr %ap)
14 %t1 = va_arg ptr %ap, x86_fp80 ; <x86_fp80> [#uses=1]
15 %t2 = va_arg ptr %ap, x86_fp80 ; <x86_fp80> [#uses=1]
16 %t = fadd x86_fp80 %t1, %t2 ; <x86_fp80> [#uses=1]