blob: c846e2a90dcb3af58b31e3a9101269ea2987b9f8 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | 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
5void %test() {
6 cast <4 x int> zeroinitializer to <4 x float>
7 shufflevector <4 x float> %0, <4 x float> zeroinitializer, <4 x uint> zeroinitializer
8 store <4 x float> %1, <4 x float>* null
9 unreachable
10}