mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 14:35:54 +00:00
Test case for the insertelement operation.
llvm-svn: 25409
This commit is contained in:
parent
4e3d87a0dc
commit
8714c48055
@ -3,6 +3,11 @@
|
||||
; RUN: diff %t1.ll %t2.ll
|
||||
|
||||
uint %test_extractelement(<4 x uint> %V) {
|
||||
%R = extractelement <4 x uint> %V, uint 1
|
||||
ret uint %R
|
||||
%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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user