mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-11 22:29:37 +00:00
Added a test case for parameter passing of vector values.
llvm-svn: 28567
This commit is contained in:
parent
6494e07fb8
commit
e61fd7c096
9
test/Regression/CodeGen/X86/vec_call.ll
Normal file
9
test/Regression/CodeGen/X86/vec_call.ll
Normal file
@ -0,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>)
|
Loading…
x
Reference in New Issue
Block a user