2017-08-02 06:20:41 +08:00
|
|
|
; RUN: llc -verify-machineinstrs < %s -mtriple=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) {
|
2015-02-28 05:17:42 +08:00
|
|
|
%T = load <4 x float>, <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
|
|
|
|