summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/Regression/CodeGen/PowerPC/constants.ll6
-rw-r--r--llvm/test/Regression/CodeGen/PowerPC/mulhs.ll8
-rw-r--r--llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll4
-rw-r--r--llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll6
-rw-r--r--llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll10
5 files changed, 17 insertions, 17 deletions
diff --git a/llvm/test/Regression/CodeGen/PowerPC/constants.ll b/llvm/test/Regression/CodeGen/PowerPC/constants.ll
index d1f59e780b1..7a285ec284a 100644
--- a/llvm/test/Regression/CodeGen/PowerPC/constants.ll
+++ b/llvm/test/Regression/CodeGen/PowerPC/constants.ll
@@ -1,7 +1,7 @@
; All of these routines should be perform optimal load of constants.
-; RUN: llvm-as < constants.ll | llc -march=ppc32 | grep lis | wc -l | grep 5 &&
-; RUN: llvm-as < constants.ll | llc -march=ppc32 | grep ori | wc -l | grep 3 &&
-; RUN: llvm-as < constants.ll | llc -march=ppc32 | grep 'li ' | wc -l | grep 4
+; RUN: llvm-as < %s | llc -march=ppc32 | grep lis | wc -l | grep 5 &&
+; RUN: llvm-as < %s | llc -march=ppc32 | grep ori | wc -l | grep 3 &&
+; RUN: llvm-as < %s | llc -march=ppc32 | grep 'li ' | wc -l | grep 4
implementation ; Functions:
diff --git a/llvm/test/Regression/CodeGen/PowerPC/mulhs.ll b/llvm/test/Regression/CodeGen/PowerPC/mulhs.ll
index cef169a3cc2..309102a1fab 100644
--- a/llvm/test/Regression/CodeGen/PowerPC/mulhs.ll
+++ b/llvm/test/Regression/CodeGen/PowerPC/mulhs.ll
@@ -1,8 +1,8 @@
; All of these ands and shifts should be folded into rlwimi's
-; RUN: llvm-as < mulhs.ll | llc -march=ppc32 | not grep mulhwu &&
-; RUN: llvm-as < mulhs.ll | llc -march=ppc32 | not grep srawi &&
-; RUN: llvm-as < mulhs.ll | llc -march=ppc32 | not grep add &&
-; RUN: llvm-as < mulhs.ll | llc -march=ppc32 | grep mulhw | wc -l | grep 1
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep mulhwu &&
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep srawi &&
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep add &&
+; RUN: llvm-as < %s | llc -march=ppc32 | grep mulhw | wc -l | grep 1
implementation ; Functions:
diff --git a/llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll b/llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll
index f5c740bb9dd..77360629033 100644
--- a/llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll
+++ b/llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll
@@ -1,6 +1,6 @@
; All of these ands and shifts should be folded into rlwimi's
-; RUN: llvm-as < rlwimi.ll | llc -march=ppc32 | not grep and &&
-; RUN: llvm-as < rlwimi.ll | llc -march=ppc32 | grep rlwimi | wc -l | grep 8
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep and &&
+; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwimi | wc -l | grep 8
implementation ; Functions:
diff --git a/llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll b/llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll
index 9bc53319a28..0ec630dd990 100644
--- a/llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll
+++ b/llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll
@@ -1,7 +1,7 @@
; All of these ands and shifts should be folded into rlwimi's
-; RUN: llvm-as < rlwimi2.ll | llc -march=ppc32 | grep rlwimi | wc -l | grep 3 &&
-; RUN: llvm-as < rlwimi2.ll | llc -march=ppc32 | grep srwi | wc -l | grep 1 &&
-; RUN: llvm-as < rlwimi2.ll | llc -march=ppc32 | not grep slwi
+; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwimi | wc -l | grep 3 &&
+; RUN: llvm-as < %s | llc -march=ppc32 | grep srwi | wc -l | grep 1 &&
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep slwi
implementation ; Functions:
diff --git a/llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll b/llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll
index b64db00f808..b16b9051dd3 100644
--- a/llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll
+++ b/llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll
@@ -1,9 +1,9 @@
; All of these ands and shifts should be folded into rlwimi's
-; RUN: llvm-as < rlwinm.ll | llc -march=ppc32 | not grep and &&
-; RUN: llvm-as < rlwinm.ll | llc -march=ppc32 | not grep srawi &&
-; RUN: llvm-as < rlwinm.ll | llc -march=ppc32 | not grep srwi &&
-; RUN: llvm-as < rlwinm.ll | llc -march=ppc32 | not grep slwi &&
-; RUN: llvm-as < rlwinm.ll | llc -march=ppc32 | grep rlwinm | wc -l | grep 8
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep and &&
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep srawi &&
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep srwi &&
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep slwi &&
+; RUN: llvm-as < %s | llc -march=ppc32 | grep rlwinm | wc -l | grep 8
implementation ; Functions:
OpenPOWER on IntegriCloud