Chris Lattner | 5e1b72c | 2006-01-10 20:00:20 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as %s -o - | llvm-dis > %t1.ll |
| 2 | ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll |
| 3 | ; RUN: diff %t1.ll %t2.ll |
| 4 | |
| 5 | uint %test_extractelement(<4 x uint> %V) { |
Robert Bocchino | f90a87a | 2006-01-17 20:07:30 +0000 | [diff] [blame^] | 6 | %R = extractelement <4 x uint> %V, uint 1 |
| 7 | ret uint %R |
| 8 | } |
| 9 | |
| 10 | <4 x uint> %test_insertelement(<4 x uint> %V) { |
| 11 | %R = insertelement <4 x uint> %V, uint 0, uint 0 |
| 12 | ret <4 x uint> %R |
Chris Lattner | 5e1b72c | 2006-01-10 20:00:20 +0000 | [diff] [blame] | 13 | } |