diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/fp-stack-ret-store.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fp-stack-ret-store.ll b/test/CodeGen/X86/fp-stack-ret-store.ll index 8782964..903ef48 100644 --- a/test/CodeGen/X86/fp-stack-ret-store.ll +++ b/test/CodeGen/X86/fp-stack-ret-store.ll @@ -13,3 +13,14 @@ entry: } declare double @foo(...) + +define void @bar2(float* %P) { +entry: + %tmp = tail call double (...)* @foo2( ) ; <double> [#uses=1] + %tmp1 = fptrunc double %tmp to float ; <float> [#uses=1] + store float %tmp1, float* %P, align 4 + ret void +} + +declare double @foo2(...) + |