diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-02-23 09:03:22 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-02-23 09:03:22 +0000 |
commit | 242b38bae5d8eeadca0e0cf4777b3b285cb5eb01 (patch) | |
tree | ae0affc5f4f97fe2f6e76ca717b3621b931bbf70 /test/CodeGen/X86/ret-mmx.ll | |
parent | 932be21c081c837e4ac34a11a7ac0f06deac77fb (diff) | |
download | external_llvm-242b38bae5d8eeadca0e0cf4777b3b285cb5eb01.zip external_llvm-242b38bae5d8eeadca0e0cf4777b3b285cb5eb01.tar.gz external_llvm-242b38bae5d8eeadca0e0cf4777b3b285cb5eb01.tar.bz2 |
Only v1i16 (i.e. _m64) is returned via RAX / RDX.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/ret-mmx.ll')
-rw-r--r-- | test/CodeGen/X86/ret-mmx.ll | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/CodeGen/X86/ret-mmx.ll b/test/CodeGen/X86/ret-mmx.ll index 6587eab..48f6114 100644 --- a/test/CodeGen/X86/ret-mmx.ll +++ b/test/CodeGen/X86/ret-mmx.ll @@ -10,8 +10,17 @@ entry: ret void } +declare <1 x i64> @return_v1di() + define <1 x i64> @t2() nounwind { ret <1 x i64> <i64 1> } -declare <1 x i64> @return_v1di() +define <2 x i32> @t3() nounwind { + ret <2 x i32> <i32 1, i32 0> +} + +define double @t4() nounwind { + ret double bitcast (<2 x i32> <i32 1, i32 0> to double) +} + |