From 8e083803cf20950b0945c63a85540797afe227ae Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Thu, 18 Aug 2005 19:38:57 +0000 Subject: [PATCH] 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 --- test/CodeGen/PowerPC/constants.ll | 8 ++++---- 1 file 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: -- 2.34.1