summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/live-out-reg-info.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-19 18:16:17 +0000
committerDan Gohman <gohman@apple.com>2009-08-19 18:16:17 +0000
commit6a402dc952ccad3f8fd0d9e272dbdd261f50854e (patch)
treece5b352f432a1f7886d72ec86ab2d169f36b9b62 /test/CodeGen/X86/live-out-reg-info.ll
parentb7be0e8afc5378c77c70e3c0fb6a03c74e551688 (diff)
downloadllvm-6a402dc952ccad3f8fd0d9e272dbdd261f50854e.tar.gz
llvm-6a402dc952ccad3f8fd0d9e272dbdd261f50854e.tar.bz2
llvm-6a402dc952ccad3f8fd0d9e272dbdd261f50854e.tar.xz
Add an x86 peep that narrows TEST instructions to forms that use
a smaller encoding. These kinds of patterns are very frequent in sqlite3, for example. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79439 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/live-out-reg-info.ll')
-rw-r--r--test/CodeGen/X86/live-out-reg-info.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/live-out-reg-info.ll b/test/CodeGen/X86/live-out-reg-info.ll
index b6fb7dfc72..ffaf3c171e 100644
--- a/test/CodeGen/X86/live-out-reg-info.ll
+++ b/test/CodeGen/X86/live-out-reg-info.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep testl
+; RUN: llvm-as < %s | llc -march=x86-64 | grep {testb \[$\]1,}
; Make sure dagcombine doesn't eliminate the comparison due
; to an off-by-one bug with ComputeMaskedBits information.