diff options
author | Jim Laskey <jlaskey@mac.com> | 2005-08-18 19:38:57 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2005-08-18 19:38:57 +0000 |
commit | 8e083803cf20950b0945c63a85540797afe227ae (patch) | |
tree | ce17414756b839f0fdc5183db4f07400e40db528 /test/CodeGen/PowerPC/constants.ll | |
parent | 5a53c2cbfa85dca335a96aaec71e350a430d7740 (diff) |
1. Fix comment.
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
Diffstat (limited to 'test/CodeGen/PowerPC/constants.ll')
-rw-r--r-- | test/CodeGen/PowerPC/constants.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/PowerPC/constants.ll b/test/CodeGen/PowerPC/constants.ll index a22d9708934..d0eec36ce57 100644 --- a/test/CodeGen/PowerPC/constants.ll +++ b/test/CodeGen/PowerPC/constants.ll @@ -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: |