TableGen: use correct MIOperand when printing aliases
authorTim Northover <tnorthover@apple.com>
Thu, 15 May 2014 13:36:01 +0000 (13:36 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 15 May 2014 13:36:01 +0000 (13:36 +0000)
commitd0e93f24406585ec3c71bf62690cf61570355894
treee203408a3a1948c77b93d0d20f339fc7cf72b08b
parent9f6a386e6a7a8931f824a95f995e76ce32de2e30
TableGen: use correct MIOperand when printing aliases

Previously, TableGen assumed that every aliased operand consumed precisely 1
MachineInstr slot (this was reasonable because until a couple of days ago,
nothing more complicated was eligible for printing).

This allows a couple more ARM64 aliases to print so we can remove the special
code.

On the X86 side, I've gone for explicit AT&T size specifiers as the default, so
turned off a few of the aliases that would have just started printing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208880 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86InstrSSE.td
utils/TableGen/AsmWriterEmitter.cpp
utils/TableGen/CodeGenInstruction.cpp
utils/TableGen/CodeGenInstruction.h