Add documentation comment.
[oota-llvm.git] / 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 = "";
 
   ///@}