blob: 646fb5f3866c3d6e7b1c671aa5f0d4ded31998e6 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=ppc32 -mcpu=g5
Eli Friedman0da99752009-06-07 01:07:55 +00002; PR3628
3
4define void @update(<4 x i32> %val, <4 x i32>* %dst) nounwind {
5entry:
6 %shl = shl <4 x i32> %val, < i32 4, i32 3, i32 2, i32 1 >
7 %shr = ashr <4 x i32> %shl, < i32 1, i32 2, i32 3, i32 4 >
8 store <4 x i32> %shr, <4 x i32>* %dst
9 ret void
10}