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
This commit is contained in:
Evan Cheng
2009-02-23 09:03:22 +00:00
parent 932be21c08
commit 242b38bae5
4 changed files with 59 additions and 19 deletions

View File

@@ -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)
}