TableGen support for auto-generating assembly two-operand aliases.
authorJim Grosbach <grosbach@apple.com>
Thu, 19 Apr 2012 23:59:23 +0000 (23:59 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 19 Apr 2012 23:59:23 +0000 (23:59 +0000)
commitc1922c72adedadb414a3d19c3f150bfe1bc755a5
tree0300d38e4882ee1acf89021a7d202edce85e277a
parentdc21604d4af9cbe27d7fa067f7411e334ba5186e
TableGen support for auto-generating assembly two-operand aliases.

Assembly matchers for instructions with a two-operand form. ARM is full
of these, for example:
  add {Rd}, Rn, Rm  // Rd is optional and is the same as Rn if omitted.

The property TwoOperandAliasConstraint on the instruction definition controls
when, and if, an alias will be formed. No explicit InstAlias definitions
are required.

rdar://11255754

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