xref: /llvm-project/llvm/test/CodeGen/X86/vshift_scalar.ll (revision 2f448bf509432c1a19ec46ab8cbc7353c03c6280)
1; RUN: llc < %s
2; REQUIRES: default_triple
3
4; Legalization test that requires scalarizing a vector.
5
6define void @update(<1 x i32> %val, ptr %dst) nounwind {
7entry:
8	%shl = shl <1 x i32> %val, < i32 2>
9	%shr = ashr <1 x i32> %val, < i32 4>
10	store <1 x i32> %shr, ptr %dst
11	ret void
12}
13