diff --git a/test/CodeGen/PowerPC/vec_vrsave.ll b/test/CodeGen/PowerPC/vec_vrsave.ll new file mode 100644 index 00000000000..8c4e713985a --- /dev/null +++ b/test/CodeGen/PowerPC/vec_vrsave.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vrlw && +; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep spr + +<4 x int> %test_rol() { + ret <4 x int> < int -11534337, int -11534337, int -11534337, int -11534337 > +} +