blob: 1cb89645a8f5a7f020eb8efe76112889fec8cd76 [file] [log] [blame]
Dan Gohman2d65d352009-08-25 15:38:29 +00001; RUN: llvm-as < %s | llc -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