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

Evan Cheng evan.cheng at apple.com
Tue May 30 13:37:12 PDT 2006



Changes in directory llvm/test/Regression/CodeGen/X86:

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

Added a test case for parameter passing of vector values.


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

 vec_call.ll |    9 +++++++++
 1 files changed, 9 insertions(+)


Index: llvm/test/Regression/CodeGen/X86/vec_call.ll
diff -c /dev/null llvm/test/Regression/CodeGen/X86/vec_call.ll:1.1
*** /dev/null	Tue May 30 15:37:10 2006
--- llvm/test/Regression/CodeGen/X86/vec_call.ll	Tue May 30 15:37:00 2006
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep 'subl.*60'
+ ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep 'movdqa.*32'
+ 
+ void %test() {
+ 	tail call void %xx( int 1, int 2, int 3, int 4, int 5, int 6, int 7, <2 x long> cast (<4 x int> < int 4, int 3, int 2, int 1 > to <2 x long>), <2 x long> cast (<4 x int> < int 8, int 7, int 6, int 5 > to <2 x long>), <2 x long> cast (<4 x int> < int 6, int 4, int 2, int 0 > to <2 x long>), <2 x long> cast (<4 x int> < int 8, int 4, int 2, int 1 > to <2 x long>), <2 x long> cast (<4 x int> < int 0, int 1, int 3, int 9 > to <2 x long>) )
+ 	ret void
+ }
+ 
+ declare void %xx(int, int, int, int, int, int, int, <2 x long>, <2 x long>, <2 x long>, <2 x long>, <2 x long>)






More information about the llvm-commits mailing list