On AVX/AVX2 the type v8i1 is legalized to v8i16, which is an XMM sized
[oota-llvm.git] / test / CodeGen / X86 / vshift_scalar.ll
1 ; RUN: llc < %s
2
3 ; Legalization test that requires scalarizing a vector.
4
5 define void @update(<1 x i32> %val, <1 x i32>* %dst) nounwind {
6 entry:
7         %shl = shl <1 x i32> %val, < i32 2>
8         %shr = ashr <1 x i32> %val, < i32 4>
9         store <1 x i32> %shr, <1 x i32>* %dst
10         ret void
11 }