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: