[X86] Remove unnecessary AddComplexity directive. The instruction is already wrapped in the equivalent earlier. NFC

llvm-svn: 249369
This commit is contained in:
Craig Topper 2015-10-06 02:50:21 +00:00
parent 6e78d16b3b
commit d69d495333
1 changed files with 0 additions and 1 deletions

View File

@ -1322,7 +1322,6 @@ def : Pat<(and GR64:$src, 0x00000000FFFFFFFF),
(MOV32rr (EXTRACT_SUBREG GR64:$src, sub_32bit)), (MOV32rr (EXTRACT_SUBREG GR64:$src, sub_32bit)),
sub_32bit)>; sub_32bit)>;
// r & (2^16-1) ==> movz // r & (2^16-1) ==> movz
let AddedComplexity = 1 in // Give priority over i64immZExt32.
def : Pat<(and GR64:$src, 0xffff), def : Pat<(and GR64:$src, 0xffff),
(SUBREG_TO_REG (i64 0), (SUBREG_TO_REG (i64 0),
(MOVZX32rr16 (i16 (EXTRACT_SUBREG GR64:$src, sub_16bit))), (MOVZX32rr16 (i16 (EXTRACT_SUBREG GR64:$src, sub_16bit))),