~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to test/CodeGen/PowerPC/2006-04-05-splat-ish.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-03-29 19:09:51 UTC
  • Revision ID: package-import@ubuntu.com-20120329190951-aq83ivog4cg8bxun
Tags: upstream-3.1~svn153643
ImportĀ upstreamĀ versionĀ 3.1~svn153643

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \
 
2
; RUN:   grep {vspltish v.*, 10}
 
3
 
 
4
define void @test(<8 x i16>* %P) {
 
5
        %tmp = load <8 x i16>* %P               ; <<8 x i16>> [#uses=1]
 
6
        %tmp1 = add <8 x i16> %tmp, < i16 10, i16 10, i16 10, i16 10, i16 10, i16 10, i16 10, i16 10 >          ; <<8 x i16>> [#uses=1]
 
7
        store <8 x i16> %tmp1, <8 x i16>* %P
 
8
        ret void
 
9
}
 
10