[llvm-commits] CVS: llvm/test/Feature/instructions.ll

Chris Lattner lattner at cs.uiuc.edu
Tue Jan 10 12:00:32 PST 2006



Changes in directory llvm/test/Feature:

instructions.ll added (r1.1)
---
Log message:

new testcase for extractelement instruction


---
Diffs of the changes:  (+8 -0)

 instructions.ll |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/test/Feature/instructions.ll
diff -c /dev/null llvm/test/Feature/instructions.ll:1.1
*** /dev/null	Tue Jan 10 14:00:30 2006
--- llvm/test/Feature/instructions.ll	Tue Jan 10 14:00:20 2006
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+ ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+ ; RUN: diff %t1.ll %t2.ll
+ 
+ uint %test_extractelement(<4 x uint> %V) {
+ 	%R = extractelement <4 x uint> %V, uint 1
+ 	ret uint %R
+ }






More information about the llvm-commits mailing list