1 ; RUN: llvm-as < %s | llc -march=arm -mattr=+neon > %t
2 ; RUN: grep {vrsqrte\\.u32} %t | count 2
3 ; RUN: grep {vrsqrte\\.f32} %t | count 2
5 define <2 x i32> @vrsqrtei32(<2 x i32>* %A) nounwind {
6 %tmp1 = load <2 x i32>* %A
7 %tmp2 = call <2 x i32> @llvm.arm.neon.vrsqrte.v2i32(<2 x i32> %tmp1)
11 define <4 x i32> @vrsqrteQi32(<4 x i32>* %A) nounwind {
12 %tmp1 = load <4 x i32>* %A
13 %tmp2 = call <4 x i32> @llvm.arm.neon.vrsqrte.v4i32(<4 x i32> %tmp1)
17 define <2 x float> @vrsqrtef32(<2 x float>* %A) nounwind {
18 %tmp1 = load <2 x float>* %A
19 %tmp2 = call <2 x float> @llvm.arm.neon.vrsqrtef.v2f32(<2 x float> %tmp1)
23 define <4 x float> @vrsqrteQf32(<4 x float>* %A) nounwind {
24 %tmp1 = load <4 x float>* %A
25 %tmp2 = call <4 x float> @llvm.arm.neon.vrsqrtef.v4f32(<4 x float> %tmp1)
29 declare <2 x i32> @llvm.arm.neon.vrsqrte.v2i32(<2 x i32>) nounwind readnone
30 declare <4 x i32> @llvm.arm.neon.vrsqrte.v4i32(<4 x i32>) nounwind readnone
32 declare <2 x float> @llvm.arm.neon.vrsqrtef.v2f32(<2 x float>) nounwind readnone
33 declare <4 x float> @llvm.arm.neon.vrsqrtef.v4f32(<4 x float>) nounwind readnone