diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-16 03:48:41 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-16 03:48:41 +0000 |
commit | a75e1a4d36e45f9ff1b3e3e7c8b3ea84c220d0b0 (patch) | |
tree | 6ec018cb1d43818fb51ea744eb782a54a318b5be /test | |
parent | bb2e1b581ada0b748d6626512094c9500544f600 (diff) | |
download | external_llvm-a75e1a4d36e45f9ff1b3e3e7c8b3ea84c220d0b0.zip external_llvm-a75e1a4d36e45f9ff1b3e3e7c8b3ea84c220d0b0.tar.gz external_llvm-a75e1a4d36e45f9ff1b3e3e7c8b3ea84c220d0b0.tar.bz2 |
Test case for r162008.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/Mips/return-vector-float4.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/return-vector-float4.ll b/test/CodeGen/Mips/return-vector-float4.ll new file mode 100644 index 0000000..ae10f12 --- /dev/null +++ b/test/CodeGen/Mips/return-vector-float4.ll @@ -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> +} + |