If a vr is already marked alive in a bb, then it has PHI uses that are visited earlie...
[oota-llvm.git] / test / CodeGen / PowerPC / vec_vrsave.ll
1 ; 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
5
6 <4 x int> %test_rol() {
7         ret <4 x int> < int -11534337, int -11534337, int -11534337, int -11534337 >
8 }
9
10 <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