[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/vec_zero.ll

Chris Lattner lattner at cs.uiuc.edu
Thu Mar 23 23:48:05 PST 2006



Changes in directory llvm/test/Regression/CodeGen/PowerPC:

vec_zero.ll added (r1.1)
---
Log message:

new testcase


---
Diffs of the changes:  (+8 -0)

 vec_zero.ll |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/test/Regression/CodeGen/PowerPC/vec_zero.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/vec_zero.ll:1.1
*** /dev/null	Fri Mar 24 01:48:03 2006
--- llvm/test/Regression/CodeGen/PowerPC/vec_zero.ll	Fri Mar 24 01:47:53 2006
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vxor
+ 
+ void %foo(<4 x float> *%P) {
+ 	%T = load <4 x float> * %P
+ 	%S = add <4 x float> zeroinitializer, %T
+ 	store <4 x float> %S, <4 x float>* %P
+ 	ret void
+ }






More information about the llvm-commits mailing list