Implement (and document!) support for MnemonicAlias's to have Requires
authorChris Lattner <sabre@nondot.org>
Sat, 30 Oct 2010 19:23:13 +0000 (19:23 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 30 Oct 2010 19:23:13 +0000 (19:23 +0000)
commit693173feefaa326fad0e386470846fb3199ba381
treedf8851a37072eb03789bcb2f4250e30ffeb5f866
parent8cc0a6b788a17b3afc779e9da90f5203c8b78436
Implement (and document!) support for MnemonicAlias's to have Requires
directives, allowing things like this:

def : MnemonicAlias<"pop", "popl">, Requires<[In32BitMode]>;
def : MnemonicAlias<"pop", "popq">, Requires<[In64BitMode]>;

Move the rest of the X86 MnemonicAliases over to the .td file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117830 91177308-0d34-0410-b5e6-96231b3b80d8
docs/CodeGenerator.html
include/llvm/Target/Target.td
lib/Target/X86/AsmParser/X86AsmParser.cpp
lib/Target/X86/X86InstrInfo.td
utils/TableGen/AsmMatcherEmitter.cpp