For PR1319:
[oota-llvm.git] / test / CodeGen / PowerPC / vec_vrsave.ll
1 ; 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
4
5 <4 x int> %test_rol() {
6         ret <4 x int> < int -11534337, int -11534337, int -11534337, int -11534337 >
7 }
8
9 <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