1 ; RUN: llc -mtriple=arm-eabi -float-abi=soft -mattr=+neon %s -o - | FileCheck %s
8 define void @t1(<2 x i32>* %r, <4 x i16>* %a, <4 x i16>* %b) nounwind {
10 %0 = load <4 x i16>, <4 x i16>* %a, align 8 ; <<4 x i16>> [#uses=1]
11 %1 = load <4 x i16>, <4 x i16>* %b, align 8 ; <<4 x i16>> [#uses=1]
12 %2 = add <4 x i16> %0, %1 ; <<4 x i16>> [#uses=1]
13 %3 = bitcast <4 x i16> %2 to <2 x i32> ; <<2 x i32>> [#uses=1]
14 store <2 x i32> %3, <2 x i32>* %r, align 8
22 ; CHECK: vmov r0, r1, d
23 define <2 x i32> @t2(<4 x i16>* %a, <4 x i16>* %b) nounwind readonly {
25 %0 = load <4 x i16>, <4 x i16>* %a, align 8 ; <<4 x i16>> [#uses=1]
26 %1 = load <4 x i16>, <4 x i16>* %b, align 8 ; <<4 x i16>> [#uses=1]
27 %2 = sub <4 x i16> %0, %1 ; <<4 x i16>> [#uses=1]
28 %3 = bitcast <4 x i16> %2 to <2 x i32> ; <<2 x i32>> [#uses=1]