• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=x86 -mcpu=yonah
2
3; Legalization example that requires splitting a large vector into smaller pieces.
4
5define void @update(<8 x i32> %val, <8 x i32>* %dst) nounwind {
6entry:
7	%shl = shl <8 x i32> %val, < i32 2, i32 2, i32 2, i32 2, i32 4, i32 4, i32 4, i32 4 >
8	%shr = ashr <8 x i32> %val, < i32 2, i32 2, i32 2, i32 2, i32 4, i32 4, i32 4, i32 4 >
9	store <8 x i32> %shr, <8 x i32>* %dst
10	ret void
11}
12