brintos

brintos / llvm-project-archived public Read only

0
0
Text · 785 B · 7ca5890 Raw
27 lines · plain
1; RUN: llvm-as %s -o - | llvm-dis > %t1.ll2; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll3; RUN: diff %t1.ll %t2.ll4 5 6define i39 @test_extractelement(<4 x i39> %V) {7        %R = extractelement <4 x i39> %V, i32 18        ret i39 %R9}10 11define <4 x i39> @test_insertelement(<4 x i39> %V) {12        %R = insertelement <4 x i39> %V, i39 0, i32 013        ret <4 x i39> %R14}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> %R20}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> %R26}27