From 3b4b5367da29a1598dc333acf37652ef286e9225 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Wed, 22 May 2013 08:13:02 +0000 Subject: 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 --- test/CodeGen/X86/2012-08-17-legalizer-crash.ll | 1 - 1 file changed, 1 deletion(-) (limited to 'test/CodeGen/X86/2012-08-17-legalizer-crash.ll') 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 } -- cgit v1.2.3