1 ; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - | FileCheck %s
3 define <2 x i32> @test1(<2 x double>* %A) {
7 %tmp1 = load <2 x double>, <2 x double>* %A
8 %tmp2 = fptosi <2 x double> %tmp1 to <2 x i32>
12 define <2 x i32> @test2(<2 x double>* %A) {
16 %tmp1 = load <2 x double>, <2 x double>* %A
17 %tmp2 = fptoui <2 x double> %tmp1 to <2 x i32>
21 define <2 x double> @test3(<2 x i32>* %A) {
25 %tmp1 = load <2 x i32>, <2 x i32>* %A
26 %tmp2 = sitofp <2 x i32> %tmp1 to <2 x double>
27 ret <2 x double> %tmp2
30 define <2 x double> @test4(<2 x i32>* %A) {
34 %tmp1 = load <2 x i32>, <2 x i32>* %A
35 %tmp2 = uitofp <2 x i32> %tmp1 to <2 x double>
36 ret <2 x double> %tmp2