[llvm-commits] [llvm] r162009 - /llvm/trunk/test/CodeGen/Mips/return-vector-float4.ll

Akira Hatanaka ahatanaka at mips.com
Wed Aug 15 20:48:42 PDT 2012


Author: ahatanak
Date: Wed Aug 15 22:48:41 2012
New Revision: 162009

URL: http://llvm.org/viewvc/llvm-project?rev=162009&view=rev
Log:
Test case for r162008.

Added:
    llvm/trunk/test/CodeGen/Mips/return-vector-float4.ll

Added: llvm/trunk/test/CodeGen/Mips/return-vector-float4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/return-vector-float4.ll?rev=162009&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/return-vector-float4.ll (added)
+++ llvm/trunk/test/CodeGen/Mips/return-vector-float4.ll Wed Aug 15 22:48:41 2012
@@ -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>
+}
+





More information about the llvm-commits mailing list