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
This commit is contained in:
Jim Laskey 2005-08-18 19:38:57 +00:00
parent 5a53c2cbfa
commit 8e083803cf

View 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: