summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/vst4.ll
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-10-08 05:18:18 +0000
committerBob Wilson <bob.wilson@apple.com>2009-10-08 05:18:18 +0000
commitdeb3141cf522cdd9f9330c8100280031ba5e0d9d (patch)
tree089f9c09506d078aae858a15160a0e0a8d3ed300 /test/CodeGen/ARM/vst4.ll
parent6d80d2b6e0e850695bc4c1f6747c18fb697cdf18 (diff)
downloadllvm-deb3141cf522cdd9f9330c8100280031ba5e0d9d.tar.gz
llvm-deb3141cf522cdd9f9330c8100280031ba5e0d9d.tar.bz2
llvm-deb3141cf522cdd9f9330c8100280031ba5e0d9d.tar.xz
Add codegen support for NEON vst4 intrinsics with <1 x i64> vectors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/vst4.ll')
-rw-r--r--test/CodeGen/ARM/vst4.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/vst4.ll b/test/CodeGen/ARM/vst4.ll
index c7d4da0aee..d92c017c30 100644
--- a/test/CodeGen/ARM/vst4.ll
+++ b/test/CodeGen/ARM/vst4.ll
@@ -32,6 +32,14 @@ define void @vst4f(float* %A, <2 x float>* %B) nounwind {
ret void
}
+define void @vst4i64(i64* %A, <1 x i64>* %B) nounwind {
+;CHECK: vst4i64:
+;CHECK: vst1.64
+ %tmp1 = load <1 x i64>* %B
+ call void @llvm.arm.neon.vst4.v1i64(i64* %A, <1 x i64> %tmp1, <1 x i64> %tmp1, <1 x i64> %tmp1, <1 x i64> %tmp1)
+ ret void
+}
+
define void @vst4Qi8(i8* %A, <16 x i8>* %B) nounwind {
;CHECK: vst4Qi8:
;CHECK: vst4.8
@@ -72,6 +80,7 @@ declare void @llvm.arm.neon.vst4.v8i8(i8*, <8 x i8>, <8 x i8>, <8 x i8>, <8 x i8
declare void @llvm.arm.neon.vst4.v4i16(i8*, <4 x i16>, <4 x i16>, <4 x i16>, <4 x i16>) nounwind
declare void @llvm.arm.neon.vst4.v2i32(i8*, <2 x i32>, <2 x i32>, <2 x i32>, <2 x i32>) nounwind
declare void @llvm.arm.neon.vst4.v2f32(i8*, <2 x float>, <2 x float>, <2 x float>, <2 x float>) nounwind
+declare void @llvm.arm.neon.vst4.v1i64(i8*, <1 x i64>, <1 x i64>, <1 x i64>, <1 x i64>) nounwind
declare void @llvm.arm.neon.vst4.v16i8(i8*, <16 x i8>, <16 x i8>, <16 x i8>, <16 x i8>) nounwind
declare void @llvm.arm.neon.vst4.v8i16(i8*, <8 x i16>, <8 x i16>, <8 x i16>, <8 x i16>) nounwind