aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/and_add.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/and_add.ll')
-rw-r--r--test/CodeGen/PowerPC/and_add.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGen/PowerPC/and_add.ll b/test/CodeGen/PowerPC/and_add.ll
index dc82fc9..1f6428a 100644
--- a/test/CodeGen/PowerPC/and_add.ll
+++ b/test/CodeGen/PowerPC/and_add.ll
@@ -1,6 +1,7 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep slwi &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep addi &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep rlwinm
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -o %t -f
+; RUN: grep slwi %t
+; RUN: not grep addi %t
+; RUN: not grep rlwinm %t
int %test(int %A) {
%B = mul int %A, 8 ;; shift