1 ; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s
3 define void @vst2i8(i8* %A, <8 x i8>* %B) nounwind {
6 %tmp1 = load <8 x i8>* %B
7 call void @llvm.arm.neon.vst2.v8i8(i8* %A, <8 x i8> %tmp1, <8 x i8> %tmp1)
11 define void @vst2i16(i16* %A, <4 x i16>* %B) nounwind {
14 %tmp1 = load <4 x i16>* %B
15 call void @llvm.arm.neon.vst2.v4i16(i16* %A, <4 x i16> %tmp1, <4 x i16> %tmp1)
19 define void @vst2i32(i32* %A, <2 x i32>* %B) nounwind {
22 %tmp1 = load <2 x i32>* %B
23 call void @llvm.arm.neon.vst2.v2i32(i32* %A, <2 x i32> %tmp1, <2 x i32> %tmp1)
27 define void @vst2f(float* %A, <2 x float>* %B) nounwind {
30 %tmp1 = load <2 x float>* %B
31 call void @llvm.arm.neon.vst2.v2f32(float* %A, <2 x float> %tmp1, <2 x float> %tmp1)
35 declare void @llvm.arm.neon.vst2.v8i8(i8*, <8 x i8>, <8 x i8>) nounwind
36 declare void @llvm.arm.neon.vst2.v4i16(i8*, <4 x i16>, <4 x i16>) nounwind
37 declare void @llvm.arm.neon.vst2.v2i32(i8*, <2 x i32>, <2 x i32>) nounwind
38 declare void @llvm.arm.neon.vst2.v2f32(i8*, <2 x float>, <2 x float>) nounwind