disable a bogus assertion.
[oota-llvm.git] / test / CodeGen / X86 / fp-stack-2results.ll
1 ; RUN: llvm-as < %s | llc -march=x86 | grep fldz
2 ; RUN: llvm-as < %s | llc -march=x86-64 | grep fld1
3
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
10 }
11
12
13 ;_test2:
14 ;       fld1
15 ;       fld     %st(0)
16 ;       ret
17 define {x86_fp80, x86_fp80} @test2() {
18   %A = fpext double 1.0 to x86_fp80
19   ret x86_fp80 %A, x86_fp80 %A
20 }
21