From: Craig Topper Date: Mon, 5 Jan 2015 08:19:05 +0000 (+0000) Subject: [X86] Remove a strange fixme referring to a hack that doesn't seem to exist since... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d571fdb20b733c7702b39b18c5707eead22c253f;p=llvm [X86] Remove a strange fixme referring to a hack that doesn't seem to exist since the code is in a comment. Can't figure out what the body of the 'if' was supposed to be anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225154 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/MCTargetDesc/X86BaseInfo.h b/lib/Target/X86/MCTargetDesc/X86BaseInfo.h index 5915d119307..8322513bed1 100644 --- a/lib/Target/X86/MCTargetDesc/X86BaseInfo.h +++ b/lib/Target/X86/MCTargetDesc/X86BaseInfo.h @@ -684,9 +684,6 @@ namespace X86II { ++FirstMemOp;// Skip the register source (which is encoded in I8IMM). if (HasEVEX_K) ++FirstMemOp;// Skip the mask register - // FIXME: Maybe lea should have its own form? This is a horrible hack. - //if (Opcode == X86::LEA64r || Opcode == X86::LEA64_32r || - // Opcode == X86::LEA16r || Opcode == X86::LEA32r) return FirstMemOp; } case X86II::MRMXr: