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 }
12