From a1a1f2a090e3394b926531e6ecd46cd81ea1d113 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 6 Oct 2015 02:50:21 +0000 Subject: [PATCH] [X86] Remove unnecessary AddComplexity directive. The instruction is already wrapped in the equivalent earlier. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249369 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrCompiler.td | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Target/X86/X86InstrCompiler.td b/lib/Target/X86/X86InstrCompiler.td index 654d8cc98fa..5d07c702499 100644 --- a/lib/Target/X86/X86InstrCompiler.td +++ b/lib/Target/X86/X86InstrCompiler.td @@ -1322,7 +1322,6 @@ def : Pat<(and GR64:$src, 0x00000000FFFFFFFF), (MOV32rr (EXTRACT_SUBREG GR64:$src, sub_32bit)), sub_32bit)>; // r & (2^16-1) ==> movz -let AddedComplexity = 1 in // Give priority over i64immZExt32. def : Pat<(and GR64:$src, 0xffff), (SUBREG_TO_REG (i64 0), (MOVZX32rr16 (i16 (EXTRACT_SUBREG GR64:$src, sub_16bit))), -- 2.34.1