; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll

uint %test_extractelement(<4 x uint> %V) {
	%R = extractelement <4 x uint> %V, uint 1
	ret uint %R
}

; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll

uint %test_extractelement(<4 x uint> %V) {
        %R = extractelement <4 x uint> %V, uint 1
        ret uint %R
}

<4 x uint> %test_insertelement(<4 x uint> %V) {
        %R = insertelement <4 x uint> %V, uint 0, uint 0
        ret <4 x uint> %R
}

Test case for the insertelement operation.
Test case for the insertelement operation.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@25409 91177308-0d34-0410-b5e6-96231b3b80d8
