mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-02 09:33:59 +00:00
10 lines
307 B
LLVM
10 lines
307 B
LLVM
|
; RUN: llvm-as < %s | llc -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
|
||
|
}
|