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

« back to all changes in this revision

Viewing changes to test/Integer/instructions_bt.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: llvm-as %s -o - | llvm-dis > %t1.ll
 
2
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 
3
; RUN: diff %t1.ll %t2.ll
 
4
 
 
5
 
 
6
define i39 @test_extractelement(<4 x i39> %V) {
 
7
        %R = extractelement <4 x i39> %V, i32 1
 
8
        ret i39 %R
 
9
}
 
10
 
 
11
define <4 x i39> @test_insertelement(<4 x i39> %V) {
 
12
        %R = insertelement <4 x i39> %V, i39 0, i32 0
 
13
        ret <4 x i39> %R
 
14
}
 
15
 
 
16
define <4 x i39> @test_shufflevector_u(<4 x i39> %V) {
 
17
        %R = shufflevector <4 x i39> %V, <4 x i39> %V, 
 
18
                  <4 x i32> < i32 1, i32 undef, i32 7, i32 2>
 
19
        ret <4 x i39> %R
 
20
}
 
21
 
 
22
define <4 x float> @test_shufflevector_f(<4 x float> %V) {
 
23
        %R = shufflevector <4 x float> %V, <4 x float> undef, 
 
24
                  <4 x i32> < i32 1, i32 undef, i32 7, i32 2>
 
25
        ret <4 x float> %R
 
26
}