Mon P Wang | 6978d7c | 2008-12-15 21:44:00 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc |
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 | } |