Test case for r162008.
authorAkira Hatanaka <ahatanaka@mips.com>
Thu, 16 Aug 2012 03:48:41 +0000 (03:48 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Thu, 16 Aug 2012 03:48:41 +0000 (03:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162009 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Mips/return-vector-float4.ll [new file with mode: 0644]

diff --git a/test/CodeGen/Mips/return-vector-float4.ll b/test/CodeGen/Mips/return-vector-float4.ll
new file mode 100644 (file)
index 0000000..ae10f12
--- /dev/null
@@ -0,0 +1,12 @@
+; RUN: llc -march=mipsel -mattr=+android < %s | FileCheck %s
+
+define <4 x float> @retvec4() nounwind readnone {
+entry:
+; CHECK: lwc1 $f0
+; CHECK: lwc1 $f2
+; CHECK: lwc1 $f1
+; CHECK: lwc1 $f3
+
+  ret <4 x float> <float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00>
+}
+