summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-10-08 00:21:01 +0000
committerBob Wilson <bob.wilson@apple.com>2009-10-08 00:21:01 +0000
commitd4f5670096a47f24e90b38fc4173aed85a542050 (patch)
tree62a5c043e45f539a68d07e516c8681a907402c3c /llvm/test
parentf43472bd84f68effa79565b5223360e234497132 (diff)
downloadbcm5719-llvm-d4f5670096a47f24e90b38fc4173aed85a542050.tar.gz
bcm5719-llvm-d4f5670096a47f24e90b38fc4173aed85a542050.zip
Add codegen support for NEON vst2 intrinsics with <1 x i64> vectors.
llvm-svn: 83513
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/ARM/vst2.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/vst2.ll b/llvm/test/CodeGen/ARM/vst2.ll
index f4644eeb06b..17d6bee0f56 100644
--- a/llvm/test/CodeGen/ARM/vst2.ll
+++ b/llvm/test/CodeGen/ARM/vst2.ll
@@ -32,6 +32,14 @@ define void @vst2f(float* %A, <2 x float>* %B) nounwind {
ret void
}
+define void @vst2i64(i64* %A, <1 x i64>* %B) nounwind {
+;CHECK: vst2i64:
+;CHECK: vst1.64
+ %tmp1 = load <1 x i64>* %B
+ call void @llvm.arm.neon.vst2.v1i64(i64* %A, <1 x i64> %tmp1, <1 x i64> %tmp1)
+ ret void
+}
+
define void @vst2Qi8(i8* %A, <16 x i8>* %B) nounwind {
;CHECK: vst2Qi8:
;CHECK: vst2.8
@@ -68,6 +76,7 @@ declare void @llvm.arm.neon.vst2.v8i8(i8*, <8 x i8>, <8 x i8>) nounwind
declare void @llvm.arm.neon.vst2.v4i16(i8*, <4 x i16>, <4 x i16>) nounwind
declare void @llvm.arm.neon.vst2.v2i32(i8*, <2 x i32>, <2 x i32>) nounwind
declare void @llvm.arm.neon.vst2.v2f32(i8*, <2 x float>, <2 x float>) nounwind
+declare void @llvm.arm.neon.vst2.v1i64(i8*, <1 x i64>, <1 x i64>) nounwind
declare void @llvm.arm.neon.vst2.v16i8(i8*, <16 x i8>, <16 x i8>) nounwind
declare void @llvm.arm.neon.vst2.v8i16(i8*, <8 x i16>, <8 x i16>) nounwind
OpenPOWER on IntegriCloud