diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2009-06-02 17:52:33 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2009-06-02 17:52:33 +0000 |
| commit | 009b1c42aa6266385f2c37e227516b24077e6dd7 (patch) | |
| tree | 64ba909838c23261cace781ece27d106134ea451 /test/CodeGen/X86/fp-stack-retcopy.ll | |
Notes
Diffstat (limited to 'test/CodeGen/X86/fp-stack-retcopy.ll')
| -rw-r--r-- | test/CodeGen/X86/fp-stack-retcopy.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fp-stack-retcopy.ll b/test/CodeGen/X86/fp-stack-retcopy.ll new file mode 100644 index 0000000000000..997f8df20fea6 --- /dev/null +++ b/test/CodeGen/X86/fp-stack-retcopy.ll @@ -0,0 +1,12 @@ +; This should not copy the result of foo into an xmm register. +; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -mtriple=i686-apple-darwin9 | not grep xmm +; rdar://5689903 + +declare double @foo() + +define double @carg({ double, double }* byval %z) nounwind { +entry: + %tmp5 = tail call double @foo() nounwind ; <double> [#uses=1] + ret double %tmp5 +} + |
