Add a triple to switch.ll test.
[oota-llvm.git] / test / CodeGen / X86 / vshift_split2.ll
1 ; RUN: llc < %s -march=x86 -mcpu=yonah
2
3 ; Legalization example that requires splitting a large vector into smaller pieces.
4
5 define void @update(<8 x i32> %val, <8 x i32>* %dst) nounwind {
6 entry:
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 }