[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/constants.ll

Jim Laskey jlaskey at apple.com
Thu Aug 18 12:39:08 PDT 2005



Changes in directory llvm/test/Regression/CodeGen/PowerPC:

constants.ll updated: 1.1 -> 1.2
---
Log message:

1. Fix comment.

2. Get an exact count of 'li ' instructions.


---
Diffs of the changes:  (+4 -4)

 constants.ll |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/test/Regression/CodeGen/PowerPC/constants.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/constants.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/constants.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/constants.ll:1.1	Thu Aug 18 14:32:46 2005
+++ llvm/test/Regression/CodeGen/PowerPC/constants.ll	Thu Aug 18 14:38:57 2005
@@ -1,7 +1,7 @@
-; All of these ands and shifts should be folded into constants's
-; 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 18
+; 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
 
 implementation   ; Functions:
 






More information about the llvm-commits mailing list