blob: 4cdca09c72f5138e6a384a347383d506b3438efe [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 -mattr=+sse2 -o %t
Dan Gohman8c89a502007-08-15 13:36:28 +00002; RUN: grep xorps %t | count 1
Dan Gohmanf17a25c2007-07-18 16:29:46 +00003; RUN: not grep shufps %t
4
Tanya Lattner632e88a2008-02-21 07:42:26 +00005define void @test() {
6 bitcast <4 x i32> zeroinitializer to <4 x float> ; <<4 x float>>:1 [#uses=1]
7 shufflevector <4 x float> %1, <4 x float> zeroinitializer, <4 x i32> zeroinitializer ; <<4 x float>>:2 [#uses=1]
8 store <4 x float> %2, <4 x float>* null
9 unreachable
Dan Gohmanf17a25c2007-07-18 16:29:46 +000010}
Tanya Lattner632e88a2008-02-21 07:42:26 +000011