new testcase
[oota-llvm.git] / test / CodeGen / PowerPC / vec_zero.ll
1 ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vxor
2
3 void %foo(<4 x float> *%P) {
4         %T = load <4 x float> * %P
5         %S = add <4 x float> zeroinitializer, %T
6         store <4 x float> %S, <4 x float>* %P
7         ret void
8 }