[llvm-commits] CVS: llvm/test/CodeGen/X86/vec_add.ll

Evan Cheng evan.cheng at apple.com
Wed Apr 25 17:07:54 PDT 2007



Changes in directory llvm/test/CodeGen/X86:

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

New test case.

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

 vec_add.ll |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/test/CodeGen/X86/vec_add.ll
diff -c /dev/null llvm/test/CodeGen/X86/vec_add.ll:1.1
*** /dev/null	Wed Apr 25 19:07:46 2007
--- llvm/test/CodeGen/X86/vec_add.ll	Wed Apr 25 19:07:36 2007
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: llvm-as < %s | | llc -march=x86 -mattr=+sse2
+ 
+ define <2 x i64> @test(<2 x i64> %a, <2 x i64> %b) {
+ entry:
+ 	%tmp9 = add <2 x i64> %b, %a		; <<2 x i64>> [#uses=1]
+ 	ret <2 x i64> %tmp9
+ }






More information about the llvm-commits mailing list