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