Let a target specify whether it wants an assembly printer to be the MC version
authorJim Grosbach <grosbach@apple.com>
Thu, 30 Sep 2010 01:29:54 +0000 (01:29 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 30 Sep 2010 01:29:54 +0000 (01:29 +0000)
commitca96a861655d3fcfc5ff047e249703930c8330bc
tree92604ea321edafed758d625ed872c0a9bd9d2d77
parent97fe645bc29612eff47ec8841a4b3eb3442a0a0b
Let a target specify whether it wants an assembly printer to be the MC version
or not. TableGen needs to generate the printInstruction() function as taking
an MCInstr* or a MachineInstr*, depending. Default to the old non-MC
version so that everything not yet using MC continues to just work without
fidding.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115126 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/Target.td
utils/TableGen/AsmWriterEmitter.cpp