1. Fix comment.
authorJim Laskey <jlaskey@mac.com>
Thu, 18 Aug 2005 19:38:57 +0000 (19:38 +0000)
committerJim Laskey <jlaskey@mac.com>
Thu, 18 Aug 2005 19:38:57 +0000 (19:38 +0000)
2. Get an exact count of 'li ' instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22872 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/constants.ll

index a22d97089344df65768ccb0c8043cae3588740ac..d0eec36ce57c0bd21a12ea8f21e879a168b77447 100644 (file)
@@ -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: