diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-16 17:36:08 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-16 17:36:08 +0000 |
| commit | 6e87ec4351149da232eff0814428f24ad723e6ac (patch) | |
| tree | a20b1c26394da0aa029206080cff1b616c750c27 /llvm/test/CodeGen/PowerPC/rlwimi2.ll | |
| parent | 675732ad38db2c284dfbf9c1ec62ee535dfd5c2b (diff) | |
| download | bcm5719-llvm-6e87ec4351149da232eff0814428f24ad723e6ac.tar.gz bcm5719-llvm-6e87ec4351149da232eff0814428f24ad723e6ac.zip | |
For PR1319:
Remove && from the end of the lines to prevent tests from throwing run
lines into the background. Also, clean up places where the same command
is run multiple times by using a temporary file.
llvm-svn: 36142
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/rlwimi2.ll')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/rlwimi2.ll | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/PowerPC/rlwimi2.ll b/llvm/test/CodeGen/PowerPC/rlwimi2.ll index 966705dcffb..c264d2ef94d 100644 --- a/llvm/test/CodeGen/PowerPC/rlwimi2.ll +++ b/llvm/test/CodeGen/PowerPC/rlwimi2.ll @@ -1,7 +1,8 @@ ; All of these ands and shifts should be folded into rlwimi's -; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep rlwimi | wc -l | grep 3 && -; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep srwi | wc -l | grep 1 && -; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep slwi +; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -o %t -f +; RUN: grep rlwimi %t | wc -l | grep 3 +; RUN: grep srwi %t | wc -l | grep 1 +; RUN: not grep slwi %t implementation ; Functions: |

