2014-04-03 05:22:03 +08:00
|
|
|
; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - | FileCheck %s
|
2009-09-01 12:18:40 +08:00
|
|
|
; pr4843
|
2014-04-03 05:22:03 +08:00
|
|
|
|
2009-09-01 12:18:40 +08:00
|
|
|
define <4 x i16> @v2regbug(<4 x i16>* %B) nounwind {
|
2013-07-14 14:24:09 +08:00
|
|
|
;CHECK-LABEL: v2regbug:
|
2009-09-01 12:18:40 +08:00
|
|
|
;CHECK: vzip.16
|
2015-02-28 05:17:42 +08:00
|
|
|
%tmp1 = load <4 x i16>, <4 x i16>* %B
|
2009-09-01 12:18:40 +08:00
|
|
|
%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
|
|
|
|
}
|