2018-04-08 03:50:09 +08:00
|
|
|
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
2012-10-26 01:50:05 +08:00
|
|
|
; RUN: llc < %s -mtriple=x86_64-linux-pc -mcpu=atom | FileCheck %s
|
|
|
|
|
|
|
|
define <16 x i8> @foo(<16 x i8> %in) {
|
2018-04-08 03:50:09 +08:00
|
|
|
; CHECK-LABEL: foo:
|
|
|
|
; CHECK: # %bb.0:
|
|
|
|
; CHECK-NEXT: pshufb {{.*#+}} xmm0 = xmm0[7,3,2,11,u,u,u,u,u,u,u,u,u,u,u,u]
|
|
|
|
; CHECK-NEXT: retq
|
2012-10-26 01:50:05 +08:00
|
|
|
%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
|
|
|
|
}
|