Change LEA to have 5 operands for its memory operand, just
authorChris Lattner <sabre@nondot.org>
Thu, 8 Jul 2010 23:46:44 +0000 (23:46 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 8 Jul 2010 23:46:44 +0000 (23:46 +0000)
commit599b531a960833719f607d66c97871f1f5ad12c0
tree4706d1f82d62567d32ad048a7d6e50a08c56f40e
parent99cfb69f17ccf6dca7378fe6d1c60758e5cabd1f
Change LEA to have 5 operands for its memory operand, just
like all other instructions, even though a segment is not
allowed.  This resolves a bunch of gross hacks in the
encoder and makes LEA more consistent with the rest of the
instruction set.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107934 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
lib/Target/X86/AsmPrinter/X86ATTInstPrinter.h
lib/Target/X86/AsmPrinter/X86IntelInstPrinter.cpp
lib/Target/X86/AsmPrinter/X86IntelInstPrinter.h
lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
lib/Target/X86/X86CodeEmitter.cpp
lib/Target/X86/X86FastISel.cpp
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrBuilder.h
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86MCCodeEmitter.cpp
lib/Target/X86/X86RegisterInfo.cpp