llvm.org GIT mirror llvm / release_38 test / CodeGen / X86 / atom-shuf.ll
release_38

Tree @release_38 (Download .tar.gz)

atom-shuf.ll @release_38raw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: llc < %s -mtriple=x86_64-linux-pc -mcpu=atom | FileCheck %s

define <16 x i8> @foo(<16 x i8> %in) {
  %r = shufflevector <16 x i8> %in, <16 x i8> undef, <16 x i32> < i32 7, i32 3, i32 2, i32 11, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
  ret <16 x i8> %r
; CHECK: foo
; CHECK: pshufb
; CHECK-NEXT: ret
}