summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2012-08-17-legalizer-crash.ll
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-05-22 08:13:02 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-05-22 08:13:02 +0000
commit3b4b5367da29a1598dc333acf37652ef286e9225 (patch)
tree8b0bd3b22763b28ac46b8406336f4fb787e19ab5 /test/CodeGen/X86/2012-08-17-legalizer-crash.ll
parent7849728485570f34bb100baef613a80d84450b08 (diff)
downloadllvm-3b4b5367da29a1598dc333acf37652ef286e9225.tar.gz
llvm-3b4b5367da29a1598dc333acf37652ef286e9225.tar.bz2
llvm-3b4b5367da29a1598dc333acf37652ef286e9225.tar.xz
X86: Remove test instructions proceeding shift by immediate instructions
Allow LLVM to take advantage of shift instructions that set the ZF flag, making instructions that test the destination superfluous. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2012-08-17-legalizer-crash.ll')
-rw-r--r--test/CodeGen/X86/2012-08-17-legalizer-crash.ll1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2012-08-17-legalizer-crash.ll b/test/CodeGen/X86/2012-08-17-legalizer-crash.ll
index a65e688154..cb9fa2eac7 100644
--- a/test/CodeGen/X86/2012-08-17-legalizer-crash.ll
+++ b/test/CodeGen/X86/2012-08-17-legalizer-crash.ll
@@ -27,6 +27,5 @@ if.end: ; preds = %if.then, %entry
; CHECK: fn1:
; CHECK: shrq $32, [[REG:%.*]]
-; CHECK: testq [[REG]], [[REG]]
; CHECK: je
}