Add documentation comment.
authorJim Grosbach <grosbach@apple.com>
Fri, 20 Apr 2012 16:29:46 +0000 (16:29 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 20 Apr 2012 16:29:46 +0000 (16:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155203 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/Target.td

index 6a321ea2cf8720197e414e10377b572223b537b5..e3f4c6465d3e7270e316eac2e1cf7e69e8f623cf 100644 (file)
@@ -402,6 +402,11 @@ class Instruction {
 
   string AsmMatchConverter = "";
 
+  /// TwoOperandAliasConstraint - Enable TableGen to auto-generate a
+  /// two-operand matcher inst-alias for a three operand instruction.
+  /// For example, the arm instruction "add r3, r3, r5" can be written
+  /// as "add r3, r5". The constraint is of the same form as a tied-operand
+  /// constraint. For example, "$Rn = $Rd".
   string TwoOperandAliasConstraint = "";
 
   ///@}