blob: 05f2a8cdd32e674b0b9278a3d2f94081c510e602 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse
2
3void %test(int %C, <4 x float>* %A, <4 x float>* %B) {
4 %tmp = load <4 x float>* %A
5 %tmp3 = load <4 x float>* %B
6 %tmp9 = mul <4 x float> %tmp3, %tmp3
7 %tmp = seteq int %C, 0
8 %iftmp.38.0 = select bool %tmp, <4 x float> %tmp9, <4 x float> %tmp
9 store <4 x float> %iftmp.38.0, <4 x float>* %A
10 ret void
11}