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
 }



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to