aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/2009-08-31-TwoRegShuffle.ll
blob: b078ec06dbb8de7915c082527a5c114230017886 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - | FileCheck %s
; pr4843

define <4 x i16> @v2regbug(<4 x i16>* %B) nounwind {
;CHECK-LABEL: v2regbug:
;CHECK: vzip.16
	%tmp1 = load <4 x i16>* %B
	%tmp2 = shufflevector <4 x i16> %tmp1, <4 x i16> undef, <4 x i32><i32 0, i32 0, i32 1, i32 1>
	ret <4 x i16> %tmp2
}