[llvm-commits] CVS: llvm/test/Feature/instructions.ll
Robert L. Bocchino Jr.
bocchino at persephone.cs.uiuc.edu
Tue Jan 17 12:08:01 PST 2006
Changes in directory llvm/test/Feature:
instructions.ll updated: 1.1 -> 1.2
---
Log message:
Test case for the insertelement operation.
---
Diffs of the changes: (+7 -2)
instructions.ll | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
Index: llvm/test/Feature/instructions.ll
diff -u llvm/test/Feature/instructions.ll:1.1 llvm/test/Feature/instructions.ll:1.2
--- llvm/test/Feature/instructions.ll:1.1 Tue Jan 10 14:00:20 2006
+++ llvm/test/Feature/instructions.ll Tue Jan 17 14:07:30 2006
@@ -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
}
More information about the llvm-commits
mailing list