• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
6define i39 @test_extractelement(<4 x i39> %V) {
7        %R = extractelement <4 x i39> %V, i32 1
8        ret i39 %R
9}
10
11define <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
16define <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
22define <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}
27