1 ; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s
3 define <8 x i8> @vabss8(<8 x i8>* %A) nounwind {
6 %tmp1 = load <8 x i8>* %A
7 %tmp2 = call <8 x i8> @llvm.arm.neon.vabs.v8i8(<8 x i8> %tmp1)
11 define <4 x i16> @vabss16(<4 x i16>* %A) nounwind {
14 %tmp1 = load <4 x i16>* %A
15 %tmp2 = call <4 x i16> @llvm.arm.neon.vabs.v4i16(<4 x i16> %tmp1)
19 define <2 x i32> @vabss32(<2 x i32>* %A) nounwind {
22 %tmp1 = load <2 x i32>* %A
23 %tmp2 = call <2 x i32> @llvm.arm.neon.vabs.v2i32(<2 x i32> %tmp1)
27 define <2 x float> @vabsf32(<2 x float>* %A) nounwind {
30 %tmp1 = load <2 x float>* %A
31 %tmp2 = call <2 x float> @llvm.arm.neon.vabs.v2f32(<2 x float> %tmp1)
35 define <16 x i8> @vabsQs8(<16 x i8>* %A) nounwind {
38 %tmp1 = load <16 x i8>* %A
39 %tmp2 = call <16 x i8> @llvm.arm.neon.vabs.v16i8(<16 x i8> %tmp1)
43 define <8 x i16> @vabsQs16(<8 x i16>* %A) nounwind {
46 %tmp1 = load <8 x i16>* %A
47 %tmp2 = call <8 x i16> @llvm.arm.neon.vabs.v8i16(<8 x i16> %tmp1)
51 define <4 x i32> @vabsQs32(<4 x i32>* %A) nounwind {
54 %tmp1 = load <4 x i32>* %A
55 %tmp2 = call <4 x i32> @llvm.arm.neon.vabs.v4i32(<4 x i32> %tmp1)
59 define <4 x float> @vabsQf32(<4 x float>* %A) nounwind {
62 %tmp1 = load <4 x float>* %A
63 %tmp2 = call <4 x float> @llvm.arm.neon.vabs.v4f32(<4 x float> %tmp1)
67 declare <8 x i8> @llvm.arm.neon.vabs.v8i8(<8 x i8>) nounwind readnone
68 declare <4 x i16> @llvm.arm.neon.vabs.v4i16(<4 x i16>) nounwind readnone
69 declare <2 x i32> @llvm.arm.neon.vabs.v2i32(<2 x i32>) nounwind readnone
70 declare <2 x float> @llvm.arm.neon.vabs.v2f32(<2 x float>) nounwind readnone
72 declare <16 x i8> @llvm.arm.neon.vabs.v16i8(<16 x i8>) nounwind readnone
73 declare <8 x i16> @llvm.arm.neon.vabs.v8i16(<8 x i16>) nounwind readnone
74 declare <4 x i32> @llvm.arm.neon.vabs.v4i32(<4 x i32>) nounwind readnone
75 declare <4 x float> @llvm.arm.neon.vabs.v4f32(<4 x float>) nounwind readnone
77 define <8 x i8> @vqabss8(<8 x i8>* %A) nounwind {
80 %tmp1 = load <8 x i8>* %A
81 %tmp2 = call <8 x i8> @llvm.arm.neon.vqabs.v8i8(<8 x i8> %tmp1)
85 define <4 x i16> @vqabss16(<4 x i16>* %A) nounwind {
88 %tmp1 = load <4 x i16>* %A
89 %tmp2 = call <4 x i16> @llvm.arm.neon.vqabs.v4i16(<4 x i16> %tmp1)
93 define <2 x i32> @vqabss32(<2 x i32>* %A) nounwind {
96 %tmp1 = load <2 x i32>* %A
97 %tmp2 = call <2 x i32> @llvm.arm.neon.vqabs.v2i32(<2 x i32> %tmp1)
101 define <16 x i8> @vqabsQs8(<16 x i8>* %A) nounwind {
104 %tmp1 = load <16 x i8>* %A
105 %tmp2 = call <16 x i8> @llvm.arm.neon.vqabs.v16i8(<16 x i8> %tmp1)
109 define <8 x i16> @vqabsQs16(<8 x i16>* %A) nounwind {
112 %tmp1 = load <8 x i16>* %A
113 %tmp2 = call <8 x i16> @llvm.arm.neon.vqabs.v8i16(<8 x i16> %tmp1)
117 define <4 x i32> @vqabsQs32(<4 x i32>* %A) nounwind {
120 %tmp1 = load <4 x i32>* %A
121 %tmp2 = call <4 x i32> @llvm.arm.neon.vqabs.v4i32(<4 x i32> %tmp1)
125 declare <8 x i8> @llvm.arm.neon.vqabs.v8i8(<8 x i8>) nounwind readnone
126 declare <4 x i16> @llvm.arm.neon.vqabs.v4i16(<4 x i16>) nounwind readnone
127 declare <2 x i32> @llvm.arm.neon.vqabs.v2i32(<2 x i32>) nounwind readnone
129 declare <16 x i8> @llvm.arm.neon.vqabs.v16i8(<16 x i8>) nounwind readnone
130 declare <8 x i16> @llvm.arm.neon.vqabs.v8i16(<8 x i16>) nounwind readnone
131 declare <4 x i32> @llvm.arm.neon.vqabs.v4i32(<4 x i32>) nounwind readnone