1 ; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s
3 define <2 x i32> @vcvt_f32tos32(<2 x float>* %A) nounwind {
6 %tmp1 = load <2 x float>* %A
7 %tmp2 = fptosi <2 x float> %tmp1 to <2 x i32>
11 define <2 x i32> @vcvt_f32tou32(<2 x float>* %A) nounwind {
12 ;CHECK: vcvt_f32tou32:
14 %tmp1 = load <2 x float>* %A
15 %tmp2 = fptoui <2 x float> %tmp1 to <2 x i32>
19 define <2 x float> @vcvt_s32tof32(<2 x i32>* %A) nounwind {
20 ;CHECK: vcvt_s32tof32:
22 %tmp1 = load <2 x i32>* %A
23 %tmp2 = sitofp <2 x i32> %tmp1 to <2 x float>
27 define <2 x float> @vcvt_u32tof32(<2 x i32>* %A) nounwind {
28 ;CHECK: vcvt_u32tof32:
30 %tmp1 = load <2 x i32>* %A
31 %tmp2 = uitofp <2 x i32> %tmp1 to <2 x float>
35 define <4 x i32> @vcvtQ_f32tos32(<4 x float>* %A) nounwind {
36 ;CHECK: vcvtQ_f32tos32:
38 %tmp1 = load <4 x float>* %A
39 %tmp2 = fptosi <4 x float> %tmp1 to <4 x i32>
43 define <4 x i32> @vcvtQ_f32tou32(<4 x float>* %A) nounwind {
44 ;CHECK: vcvtQ_f32tou32:
46 %tmp1 = load <4 x float>* %A
47 %tmp2 = fptoui <4 x float> %tmp1 to <4 x i32>
51 define <4 x float> @vcvtQ_s32tof32(<4 x i32>* %A) nounwind {
52 ;CHECK: vcvtQ_s32tof32:
54 %tmp1 = load <4 x i32>* %A
55 %tmp2 = sitofp <4 x i32> %tmp1 to <4 x float>
59 define <4 x float> @vcvtQ_u32tof32(<4 x i32>* %A) nounwind {
60 ;CHECK: vcvtQ_u32tof32:
62 %tmp1 = load <4 x i32>* %A
63 %tmp2 = uitofp <4 x i32> %tmp1 to <4 x float>