blob: 4cf0e48386198fcafe4542a653d1cfd76ddc4596 [file] [log] [blame]
Chris Lattnerd5c654b2006-04-17 21:48:03 +00001; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vrlw &&
Chris Lattner7c65a302006-05-16 18:23:55 +00002; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep spr &&
3; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep vrsave
Chris Lattnerd5c654b2006-04-17 21:48:03 +00004
5<4 x int> %test_rol() {
6 ret <4 x int> < int -11534337, int -11534337, int -11534337, int -11534337 >
7}
8
Chris Lattner7c65a302006-05-16 18:23:55 +00009<4 x int> %test_arg(<4 x int> %A, <4 x int> %B) {
10 %C = add <4 x int> %A, %B
11 ret <4 x int> %C
12}
13