1 ; RUN: llvm-as < %s | llc -march=arm -mattr=+neon | grep vldmia | count 4
2 ; RUN: llvm-as < %s | llc -march=arm -mattr=+neon | grep vstmia | count 1
3 ; RUN: llvm-as < %s | llc -march=arm -mattr=+neon | grep fmrrd | count 2
5 define void @t1(<4 x i32>* %r, <2 x i64>* %a, <2 x i64>* %b) nounwind {
7 %0 = load <2 x i64>* %a, align 16 ; <<2 x i64>> [#uses=1]
8 %1 = load <2 x i64>* %b, align 16 ; <<2 x i64>> [#uses=1]
9 %2 = add <2 x i64> %0, %1 ; <<2 x i64>> [#uses=1]
10 %3 = bitcast <2 x i64> %2 to <4 x i32> ; <<4 x i32>> [#uses=1]
11 store <4 x i32> %3, <4 x i32>* %r, align 16
15 define <4 x i32> @t2(<2 x i64>* %a, <2 x i64>* %b) nounwind readonly {
17 %0 = load <2 x i64>* %a, align 16 ; <<2 x i64>> [#uses=1]
18 %1 = load <2 x i64>* %b, align 16 ; <<2 x i64>> [#uses=1]
19 %2 = sub <2 x i64> %0, %1 ; <<2 x i64>> [#uses=1]
20 %3 = bitcast <2 x i64> %2 to <4 x i32> ; <<4 x i32>> [#uses=1]