1 ; RUN: llvm-as < %s | llc -march=x86 | grep fldz
2 ; RUN: llvm-as < %s | llc -march=x86-64 | grep fld1
4 ; This is basically this code on x86-64:
5 ; _Complex long double test() { return 1.0; }
6 define {x86_fp80, x86_fp80} @test() {
7 %A = fpext double 1.0 to x86_fp80
8 %B = fpext double 0.0 to x86_fp80
9 ret x86_fp80 %A, x86_fp80 %B
17 define {x86_fp80, x86_fp80} @test2() {
18 %A = fpext double 1.0 to x86_fp80
19 ret x86_fp80 %A, x86_fp80 %A