Fix PR14732 by handling all kinds of IMPLICIT_DEF live ranges.
[oota-llvm.git] / test / CodeGen / X86 / atom-shuf.ll
1 ; RUN: llc < %s -mtriple=x86_64-linux-pc -mcpu=atom | FileCheck %s
2
3 define <16 x i8> @foo(<16 x i8> %in) {
4   %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>
5   ret <16 x i8> %r
6 ; CHECK: foo
7 ; CHECK: pshufb
8 ; CHECK-NEXT: ret
9 }