[llvm-commits] [llvm] r155203 - /llvm/trunk/include/llvm/Target/Target.td

Jim Grosbach grosbach at apple.com
Fri Apr 20 09:29:47 PDT 2012


Author: grosbach
Date: Fri Apr 20 11:29:46 2012
New Revision: 155203

URL: http://llvm.org/viewvc/llvm-project?rev=155203&view=rev
Log:
Add documentation comment.

Modified:
    llvm/trunk/include/llvm/Target/Target.td

Modified: llvm/trunk/include/llvm/Target/Target.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/Target.td?rev=155203&r1=155202&r2=155203&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/Target.td (original)
+++ llvm/trunk/include/llvm/Target/Target.td Fri Apr 20 11:29:46 2012
@@ -402,6 +402,11 @@
 
   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 = "";
 
   ///@}





More information about the llvm-commits mailing list