blob: fbcfac5b57a46379328ec18f674cad520af26736 [file] [log] [blame]
Tanya Lattner632e88a2008-02-21 07:42:26 +00001; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -o %t -f
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