diff options
author | Robert Bocchino <bocchino@illinois.edu> | 2006-01-17 20:07:30 +0000 |
---|---|---|
committer | Robert Bocchino <bocchino@illinois.edu> | 2006-01-17 20:07:30 +0000 |
commit | f90a87a44220d265299aaec4eba05defbb603da6 (patch) | |
tree | 9995097ba414574ff897e68913cb99187a18bb01 /test/Feature | |
parent | c152f9cd26e7cb32352c513389a18ffd892ecaec (diff) |
Test case for the insertelement operation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25409 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r-- | test/Feature/instructions.ll | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/Feature/instructions.ll b/test/Feature/instructions.ll index 2edb1faba75..a65adead691 100644 --- a/test/Feature/instructions.ll +++ b/test/Feature/instructions.ll @@ -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 } |