Make this grep line a little more specific so that it doesn't
authorDan Gohman <gohman@apple.com>
Mon, 11 May 2009 18:49:56 +0000 (18:49 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 11 May 2009 18:49:56 +0000 (18:49 +0000)
accidentally match something unrelated.

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

test/CodeGen/X86/lea-neg.ll

index 61cd75c9cca973891f2c7bceef538f8dff58ec84..a559e15b58505fbf464a7a5eda10a820872655dc 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: llvm-as < %s | llc -march=x86-64 > %t
 ; RUN: grep negl %t | count 1
-; RUN: not grep sub %t
+; RUN: not grep {sub\[bwlq\]} %t
 ; RUN: grep mov %t | count 1
 ; RUN: grep {leal      -4(} %t | count 1