[llvm] r249369 - [X86] Remove unnecessary AddComplexity directive. The instruction is already wrapped in the equivalent earlier. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 5 19:50:22 PDT 2015
Author: ctopper
Date: Mon Oct 5 21:50:21 2015
New Revision: 249369
URL: http://llvm.org/viewvc/llvm-project?rev=249369&view=rev
Log:
[X86] Remove unnecessary AddComplexity directive. The instruction is already wrapped in the equivalent earlier. NFC
Modified:
llvm/trunk/lib/Target/X86/X86InstrCompiler.td
Modified: llvm/trunk/lib/Target/X86/X86InstrCompiler.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrCompiler.td?rev=249369&r1=249368&r2=249369&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrCompiler.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrCompiler.td Mon Oct 5 21:50:21 2015
@@ -1322,7 +1322,6 @@ def : Pat<(and GR64:$src, 0x00000000FFFF
(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))),
More information about the llvm-commits
mailing list