blob: ee99c70ff0e628ae6de91ca8aea8c29f3a8e16df [file] [log] [blame]
Dan Gohmanc8054d92009-09-09 00:09:15 +00001; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s
Bob Wilson33b408a2009-09-01 04:18:40 +00002; pr4843
3define <4 x i16> @v2regbug(<4 x i16>* %B) nounwind {
Stephen Lind24ab202013-07-14 06:24:09 +00004;CHECK-LABEL: v2regbug:
Bob Wilson33b408a2009-09-01 04:18:40 +00005;CHECK: vzip.16
6 %tmp1 = load <4 x i16>* %B
7 %tmp2 = shufflevector <4 x i16> %tmp1, <4 x i16> undef, <4 x i32><i32 0, i32 0, i32 1, i32 1>
8 ret <4 x i16> %tmp2
9}