1 ; RUN: llc < %s -march=arm -mattr=+neon > %t
2 ; RUN: grep {vqabs\\.s8} %t | count 2
3 ; RUN: grep {vqabs\\.s16} %t | count 2
4 ; RUN: grep {vqabs\\.s32} %t | count 2
6 define <8 x i8> @vqabss8(<8 x i8>* %A) nounwind {
7 %tmp1 = load <8 x i8>* %A
8 %tmp2 = call <8 x i8> @llvm.arm.neon.vqabs.v8i8(<8 x i8> %tmp1)
12 define <4 x i16> @vqabss16(<4 x i16>* %A) nounwind {
13 %tmp1 = load <4 x i16>* %A
14 %tmp2 = call <4 x i16> @llvm.arm.neon.vqabs.v4i16(<4 x i16> %tmp1)
18 define <2 x i32> @vqabss32(<2 x i32>* %A) nounwind {
19 %tmp1 = load <2 x i32>* %A
20 %tmp2 = call <2 x i32> @llvm.arm.neon.vqabs.v2i32(<2 x i32> %tmp1)
24 define <16 x i8> @vqabsQs8(<16 x i8>* %A) nounwind {
25 %tmp1 = load <16 x i8>* %A
26 %tmp2 = call <16 x i8> @llvm.arm.neon.vqabs.v16i8(<16 x i8> %tmp1)
30 define <8 x i16> @vqabsQs16(<8 x i16>* %A) nounwind {
31 %tmp1 = load <8 x i16>* %A
32 %tmp2 = call <8 x i16> @llvm.arm.neon.vqabs.v8i16(<8 x i16> %tmp1)
36 define <4 x i32> @vqabsQs32(<4 x i32>* %A) nounwind {
37 %tmp1 = load <4 x i32>* %A
38 %tmp2 = call <4 x i32> @llvm.arm.neon.vqabs.v4i32(<4 x i32> %tmp1)
42 declare <8 x i8> @llvm.arm.neon.vqabs.v8i8(<8 x i8>) nounwind readnone
43 declare <4 x i16> @llvm.arm.neon.vqabs.v4i16(<4 x i16>) nounwind readnone
44 declare <2 x i32> @llvm.arm.neon.vqabs.v2i32(<2 x i32>) nounwind readnone
46 declare <16 x i8> @llvm.arm.neon.vqabs.v16i8(<16 x i8>) nounwind readnone
47 declare <8 x i16> @llvm.arm.neon.vqabs.v8i16(<8 x i16>) nounwind readnone
48 declare <4 x i32> @llvm.arm.neon.vqabs.v4i32(<4 x i32>) nounwind readnone