1; RUN: llc < %s -mtriple=i686-- -o - | FileCheck %s 2 3declare void @llvm.va_start(ptr) nounwind 4 5declare void @llvm.va_copy(ptr, ptr) nounwind 6 7declare void @llvm.va_end(ptr) nounwind 8 9; CHECK-LABEL: test: 10; CHECK-NOT: 10 11define 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] 17 ret x86_fp80 %t 18} 19