mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 07:22:55 +01:00
8714c48055
llvm-svn: 25409
14 lines
366 B
LLVM
14 lines
366 B
LLVM
; 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
|
|
}
|