blob: 63e3ebaf91c0036046f89d17ea3f415f2cc307b6 [file] [log] [blame]
Reid Spencereb1d74e2007-04-16 17:36:08 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 -o %t -f
2; RUN: grep vrlw %t
3; RUN: not grep spr %t
4; RUN: not grep vrsave %t
Chris Lattnerd5c654b2006-04-17 21:48:03 +00005
6<4 x int> %test_rol() {
7 ret <4 x int> < int -11534337, int -11534337, int -11534337, int -11534337 >
8}
9
Chris Lattner7c65a302006-05-16 18:23:55 +000010<4 x int> %test_arg(<4 x int> %A, <4 x int> %B) {
11 %C = add <4 x int> %A, %B
12 ret <4 x int> %C
13}
14