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

Chris Lattner lattner at cs.uiuc.edu
Wed Apr 12 09:49:27 PDT 2006



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

vxor-canonicalize.ll added (r1.1)
---
Log message:

new testcase


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

 vxor-canonicalize.ll |    9 +++++++++
 1 files changed, 9 insertions(+)


Index: llvm/test/Regression/CodeGen/PowerPC/vxor-canonicalize.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/vxor-canonicalize.ll:1.1
*** /dev/null	Wed Apr 12 11:49:26 2006
--- llvm/test/Regression/CodeGen/PowerPC/vxor-canonicalize.ll	Wed Apr 12 11:49:16 2006
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vxor | wc -l | grep 1
+ ; There should be exactly one vxor here, not two.
+ 
+ void %test(<4 x float>* %P1, <4 x int>* %P2) {
+         store <4 x float> zeroinitializer, <4 x float>* %P1
+         store <4 x int> zeroinitializer, <4 x int>* %P2
+         ret void
+ }
+ 






More information about the llvm-commits mailing list