From: Craig Topper Date: Tue, 6 Oct 2015 02:50:21 +0000 (+0000) Subject: [X86] Remove unnecessary AddComplexity directive. The instruction is already wrapped... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a1a1f2a090e3394b926531e6ecd46cd81ea1d113;p=oota-llvm.git [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 --- 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))),