blob: 96cd7e47c3983406a4a7c466ea68aebba018072f [file] [log] [blame]
Reid Spencer1c75ef22007-04-15 22:20:47 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | \
2; RUN: grep {subl.*60}
3; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mattr=+sse2 | \
4; RUN: grep {movdqa.*32}
Reid Spencer6584cf62007-04-15 23:00:46 +00005; XFAIL: *
Evan Chengbaace002006-05-30 20:37:00 +00006
7void %test() {
8 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>) )
9 ret void
10}
11
12declare void %xx(int, int, int, int, int, int, int, <2 x long>, <2 x long>, <2 x long>, <2 x long>, <2 x long>)