Make this test more thorough. Not only should there be no %esi,
authorDan Gohman <gohman@apple.com>
Thu, 5 Mar 2009 19:31:32 +0000 (19:31 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 5 Mar 2009 19:31:32 +0000 (19:31 +0000)
there should be no spilling of anything.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66179 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/lsr-negative-stride.ll

index 7e906fc57a29acbdb78d5c814d4de19df8c18817..43b507ba5298acc08afa1c743a191d9d8ed350c1 100644 (file)
@@ -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) {