brintos

brintos / llvm-project-archived public Read only

0
0
Text · 515 B · d919a75 Raw
19 lines · plain
1; RUN: llc < %s -mtriple=i686-- -o - | FileCheck %s2 3declare void @llvm.va_start(ptr) nounwind4 5declare void @llvm.va_copy(ptr, ptr) nounwind6 7declare void @llvm.va_end(ptr) nounwind8 9; CHECK-LABEL: test:10; CHECK-NOT: 1011define 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 %t18}19