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
+ }



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to