TableGen'erated MC lowering for simple pseudo-instructions.
authorJim Grosbach <grosbach@apple.com>
Fri, 8 Jul 2011 17:36:35 +0000 (17:36 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 8 Jul 2011 17:36:35 +0000 (17:36 +0000)
commit86f9adb8becf5da6962bd89301e96bccba26f72a
treeeeb801e52b78e1dfe137c872e008a4371774194c
parent90b40414a092a5cbf35b80eb03e38787eea1a363
TableGen'erated MC lowering for simple pseudo-instructions.

This allows the (many) pseudo-instructions we have that map onto a single
real instruction to have their expansion during MC lowering handled
automatically instead of the current cumbersome manual expansion required.
These sorts of pseudos are common when an instruction is used in situations
that require different MachineInstr flags (isTerminator, isBranch, et. al.)
than the generic instruction description has. For example, using a move
to the PC to implement a branch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134704 91177308-0d34-0410-b5e6-96231b3b80d8
Makefile.rules
include/llvm/Target/Target.td
utils/TableGen/CMakeLists.txt
utils/TableGen/PseudoLoweringEmitter.cpp [new file with mode: 0644]
utils/TableGen/PseudoLoweringEmitter.h [new file with mode: 0644]
utils/TableGen/TableGen.cpp