blob: 8d06a7d94dac1b678e5dff1b0d4b8a53f630cbfc [file] [log] [blame]
Tanya Lattnercfab3da2008-02-19 08:07:33 +00001; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vxor
Chris Lattner937b90f2006-03-24 07:47:53 +00002
Tanya Lattnercfab3da2008-02-19 08:07:33 +00003define void @foo(<4 x float>* %P) {
4 %T = load <4 x float>* %P ; <<4 x float>> [#uses=1]
5 %S = add <4 x float> zeroinitializer, %T ; <<4 x float>> [#uses=1]
6 store <4 x float> %S, <4 x float>* %P
7 ret void
Chris Lattner937b90f2006-03-24 07:47:53 +00008}
Tanya Lattnercfab3da2008-02-19 08:07:33 +00009