xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/vec_zero.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep vxor
2
3define void @foo(<4 x float>* %P) {
4        %T = load <4 x float>, <4 x float>* %P               ; <<4 x float>> [#uses=1]
5        %S = fadd <4 x float> zeroinitializer, %T                ; <<4 x float>> [#uses=1]
6        store <4 x float> %S, <4 x float>* %P
7        ret void
8}
9
10