blob: 936580aa798c9baaaa427db2a9e6de0b2c2a37f8 [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vrlw &&
2; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep spr &&
3; RUN: llvm-upgrade < %s | llvm-as | 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