diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/fp-stack-2results.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fp-stack-2results.ll b/test/CodeGen/X86/fp-stack-2results.ll index b44d3dd..dcb2031 100644 --- a/test/CodeGen/X86/fp-stack-2results.ll +++ b/test/CodeGen/X86/fp-stack-2results.ll @@ -9,3 +9,13 @@ define {x86_fp80, x86_fp80} @test() { ret x86_fp80 %A, x86_fp80 %B } + +;_test2: +; fld1 +; fld %st(0) +; ret +define {x86_fp80, x86_fp80} @test2() { + %A = fpext double 1.0 to x86_fp80 + ret x86_fp80 %A, x86_fp80 %A +} + |