diff options
author | Dan Gohman <gohman@apple.com> | 2009-03-05 19:31:32 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-03-05 19:31:32 +0000 |
commit | 14cc4a458ed439e3f091a2970e2aa737d5c4ae1c (patch) | |
tree | 1839ae92b48e16dcbc034e6cb914ed302b8447fa | |
parent | 1bf3f5a662d25a33b3ed1609d7128cd195410fca (diff) | |
download | bcm5719-llvm-14cc4a458ed439e3f091a2970e2aa737d5c4ae1c.tar.gz bcm5719-llvm-14cc4a458ed439e3f091a2970e2aa737d5c4ae1c.zip |
Make this test more thorough. Not only should there be no %esi,
there should be no spilling of anything.
llvm-svn: 66179
-rw-r--r-- | llvm/test/CodeGen/X86/lsr-negative-stride.ll | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/lsr-negative-stride.ll b/llvm/test/CodeGen/X86/lsr-negative-stride.ll index 7e906fc57a2..43b507ba529 100644 --- a/llvm/test/CodeGen/X86/lsr-negative-stride.ll +++ b/llvm/test/CodeGen/X86/lsr-negative-stride.ll @@ -1,6 +1,8 @@ -; RUN: llvm-as < %s | llc -march=x86 | not grep neg -; RUN: llvm-as < %s | llc -march=x86 | not grep sub.*esp -; RUN: llvm-as < %s | llc -march=x86 | not grep esi +; RUN: llvm-as < %s | llc -march=x86 > %t +; RUN: not grep neg %t +; RUN: not grep sub.*esp %t +; RUN: not grep esi %t +; RUN: not grep push %t ; This corresponds to: ;int t(int a, int b) { |