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 | 8733db351a115a6f269e8814df2804f1b2172362 (patch) | |
tree | 7bb95b64cd00e7d29db6c54ab7abfdadfbf2e1ec /test/CodeGen/X86/lsr-negative-stride.ll | |
parent | 2383503c4c8462e36222bf16f1ea9c3c0aeca34e (diff) | |
download | llvm-8733db351a115a6f269e8814df2804f1b2172362.tar.gz llvm-8733db351a115a6f269e8814df2804f1b2172362.tar.bz2 llvm-8733db351a115a6f269e8814df2804f1b2172362.tar.xz |
Make this test more thorough. Not only should there be no %esi,
there should be no spilling of anything.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66179 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/lsr-negative-stride.ll')
-rw-r--r-- | test/CodeGen/X86/lsr-negative-stride.ll | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/CodeGen/X86/lsr-negative-stride.ll b/test/CodeGen/X86/lsr-negative-stride.ll index 7e906fc57a..43b507ba52 100644 --- a/test/CodeGen/X86/lsr-negative-stride.ll +++ b/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) { |