blob: 266b35872d5ac4e53beb7fb24924209483dd6c91 [file] [log] [blame]
Evan Chenga79a8e52006-04-10 07:30:13 +00001; RUN: llvm-as < %s | 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}