summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/vec_vrsave.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/vec_vrsave.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/vec_vrsave.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/PowerPC/vec_vrsave.ll b/llvm/test/CodeGen/PowerPC/vec_vrsave.ll
index 936580aa798..63e3ebaf91c 100644
--- a/llvm/test/CodeGen/PowerPC/vec_vrsave.ll
+++ b/llvm/test/CodeGen/PowerPC/vec_vrsave.ll
@@ -1,6 +1,7 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vrlw &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep spr &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep vrsave
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 -o %t -f
+; RUN: grep vrlw %t
+; RUN: not grep spr %t
+; RUN: not grep vrsave %t
<4 x int> %test_rol() {
ret <4 x int> < int -11534337, int -11534337, int -11534337, int -11534337 >
OpenPOWER on IntegriCloud