2008-02-19 16:07:33 +08:00
|
|
|
; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vxor
|
2006-03-24 15:47:53 +08:00
|
|
|
|
2008-02-19 16:07:33 +08:00
|
|
|
define void @foo(<4 x float>* %P) {
|
|
|
|
%T = load <4 x float>* %P ; <<4 x float>> [#uses=1]
|
2009-06-05 06:49:04 +08:00
|
|
|
%S = fadd <4 x float> zeroinitializer, %T ; <<4 x float>> [#uses=1]
|
2008-02-19 16:07:33 +08:00
|
|
|
store <4 x float> %S, <4 x float>* %P
|
|
|
|
ret void
|
2006-03-24 15:47:53 +08:00
|
|
|
}
|
2008-02-19 16:07:33 +08:00
|
|
|
|