mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
6431ff96be
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152784 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
340 B
LLVM
11 lines
340 B
LLVM
|
|
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s
|
|
; CHECK: build_vector_again
|
|
define <4 x i8> @build_vector_again(<16 x i8> %in) nounwind readnone {
|
|
entry:
|
|
%out = shufflevector <16 x i8> %in, <16 x i8> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
|
|
; CHECK: shufb
|
|
ret <4 x i8> %out
|
|
; CHECK: ret
|
|
}
|