1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

1. Fix comment.

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

llvm-svn: 22872
This commit is contained in:
Jim Laskey 2005-08-18 19:38:57 +00:00
parent 4251791f33
commit 0e5b5a3433

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: