[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/2006-04-05-splat-ish.ll

Chris Lattner lattner at cs.uiuc.edu
Wed Apr 5 10:39:03 PDT 2006



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

2006-04-05-splat-ish.ll added (r1.1)
---
Log message:

new testcase that was miscompiled to vspltisb


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

 2006-04-05-splat-ish.ll |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/test/Regression/CodeGen/PowerPC/2006-04-05-splat-ish.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/2006-04-05-splat-ish.ll:1.1
*** /dev/null	Wed Apr  5 12:39:00 2006
--- llvm/test/Regression/CodeGen/PowerPC/2006-04-05-splat-ish.ll	Wed Apr  5 12:38:50 2006
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep 'vspltish v.*, 10'
+ 
+ void %test(<8 x short>* %P) {
+ 	%tmp = load <8 x short>* %P		; <<8 x short>> [#uses=1]
+ 	%tmp1 = add <8 x short> %tmp, < short 10, short 10, short 10, short 10, short 10, short 10, short 10, short 10 >		; <<8 x short>> [#uses=1]
+ 	store <8 x short> %tmp1, <8 x short>* %P
+ 	ret void
+ }






More information about the llvm-commits mailing list