[X86] Don't pass a scale value of 0 to scatter/gather intrinsics. This causes the...
[oota-llvm.git] / test / CodeGen / X86 / 2012-03-15-build_vector_wl.ll
1
2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s
3 ; CHECK: build_vector_again
4 define <4 x i8> @build_vector_again(<16 x i8> %in) nounwind readnone {
5 entry:
6   %out = shufflevector <16 x i8> %in, <16 x i8> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
7 ; CHECK: pmovzxbd
8   ret <4 x i8> %out
9 ; CHECK: ret
10 }