mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-29 16:04:33 +00:00
fce288fc91
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81293 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
297 B
LLVM
10 lines
297 B
LLVM
; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s
|
|
; pr4843
|
|
define <4 x i16> @v2regbug(<4 x i16>* %B) nounwind {
|
|
;CHECK: 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
|
|
}
|