1; RUN:  llc < %s -mtriple powerpc64-ibm-aix-xcoff -vec-extabi -mcpu=pwr8 2>&1
2;       | FileCheck %s --check-prefix=ASM64
3; RUN:  llc < %s -mtriple powerpc-ibm-aix-xcoff -vec-extabi -mcpu=pwr8 2>&1
4;       | FileCheck %s --check-prefix=ASM32
5
6@f1 = global float 0.000000e+00, align 4
7
8define void @call_test_vararg() {
9entry:
10  %0 = load float, float* @f1, align 4
11  %conv = fpext float %0 to double
12  call void (i32, ...) @test_vararg(i32 42, double %conv, float %0)
13  ret void
14}
15
16declare void @test_vararg(i32, ...)
17
18
19; ASM64:           xscvdpspn
20; ASM64:           mffprd
21; ASM64:           xxsldwi
22; ASM64:           mffprwz
23
24
25; ASM32:           lfsx
26; ASM32:           fmr
27; ASM32:           stfs
28; ASM32:           lwz
29; ASM32:           stfd
30