[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/constants.ll mulhs.ll rlwimi.ll rlwimi2.ll rlwinm.ll
John Criswell
criswell at cs.uiuc.edu
Mon Oct 17 14:54:38 PDT 2005
Changes in directory llvm/test/Regression/CodeGen/PowerPC:
constants.ll updated: 1.3 -> 1.4
mulhs.ll updated: 1.1 -> 1.2
rlwimi.ll updated: 1.3 -> 1.4
rlwimi2.ll updated: 1.1 -> 1.2
rlwinm.ll updated: 1.3 -> 1.4
---
Log message:
Use %s instead of hard coding the input filename.
This allows the test to work when srcdir != objdir.
---
Diffs of the changes: (+17 -17)
constants.ll | 6 +++---
mulhs.ll | 8 ++++----
rlwimi.ll | 4 ++--
rlwimi2.ll | 6 +++---
rlwinm.ll | 10 +++++-----
5 files changed, 17 insertions(+), 17 deletions(-)
Index: llvm/test/Regression/CodeGen/PowerPC/constants.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/constants.ll:1.3 llvm/test/Regression/CodeGen/PowerPC/constants.ll:1.4
--- llvm/test/Regression/CodeGen/PowerPC/constants.ll:1.3 Thu Aug 18 15:06:09 2005
+++ llvm/test/Regression/CodeGen/PowerPC/constants.ll Mon Oct 17 16:54:18 2005
@@ -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:
Index: llvm/test/Regression/CodeGen/PowerPC/mulhs.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/mulhs.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/mulhs.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/mulhs.ll:1.1 Wed Aug 31 19:04:03 2005
+++ llvm/test/Regression/CodeGen/PowerPC/mulhs.ll Mon Oct 17 16:54:18 2005
@@ -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:
Index: llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll:1.3 llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll:1.4
--- llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll:1.3 Wed Aug 3 13:11:23 2005
+++ llvm/test/Regression/CodeGen/PowerPC/rlwimi.ll Mon Oct 17 16:54:18 2005
@@ -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:
Index: llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll:1.1 Wed Aug 3 13:11:23 2005
+++ llvm/test/Regression/CodeGen/PowerPC/rlwimi2.ll Mon Oct 17 16:54:18 2005
@@ -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:
Index: llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll:1.3 llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll:1.4
--- llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll:1.3 Thu Aug 11 16:59:23 2005
+++ llvm/test/Regression/CodeGen/PowerPC/rlwinm.ll Mon Oct 17 16:54:18 2005
@@ -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:
More information about the llvm-commits
mailing list