xref: /llvm-project/llvm/test/CodeGen/X86/atom-shuf.ll (revision d6981b1d377a88ead5a113dddb613be2f4e47d62)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=x86_64-linux-pc -mcpu=atom | FileCheck %s
3
4define <16 x i8> @foo(<16 x i8> %in) {
5; CHECK-LABEL: foo:
6; CHECK:       # %bb.0:
7; CHECK-NEXT:    pshufb {{.*#+}} xmm0 = xmm0[7,3,2,11,u,u,u,u,u,u,u,u,u,u,u,u]
8; CHECK-NEXT:    retq
9  %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>
10  ret <16 x i8> %r
11}
12