blob: 964ce7b2892be7a6c76b4354b210fdc486221e6d [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 -mattr=+sse2 | \
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002; RUN: not grep shufps
3
Tanya Lattner632e88a2008-02-21 07:42:26 +00004define void @test(<4 x float>* %res, <4 x float>* %A) {
5 %tmp1 = load <4 x float>* %A ; <<4 x float>> [#uses=1]
6 %tmp2 = shufflevector <4 x float> %tmp1, <4 x float> undef, <4 x i32> < i32 0, i32 5, i32 6, i32 7 > ; <<4 x float>> [#uses=1]
7 store <4 x float> %tmp2, <4 x float>* %res
8 ret void
Dan Gohmanf17a25c2007-07-18 16:29:46 +00009}
Tanya Lattner632e88a2008-02-21 07:42:26 +000010