[llvm-commits] CVS: llvm/lib/Target/Target.td

Chris Lattner lattner at cs.uiuc.edu
Sat Jul 31 21:40:53 PDT 2004



Changes in directory llvm/lib/Target:

Target.td updated: 1.27 -> 1.28

---
Log message:

Add the 'ops' marker, add an AsmString initializer



---
Diffs of the changes:  (+6 -1)

Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.27 llvm/lib/Target/Target.td:1.28
--- llvm/lib/Target/Target.td:1.27	Sat Jul 31 22:23:34 2004
+++ llvm/lib/Target/Target.td	Sat Jul 31 23:40:43 2004
@@ -110,7 +110,7 @@
   string Namespace = "";
 
   dag OperandList;          // An dag containing the MI operand list.
-  string AsmString;         // The .s format to print the instruction with.
+  string AsmString = "";    // The .s format to print the instruction with.
 
   // Pattern - Set to the DAG pattern for this instruction, if we know of one,
   // otherwise, uninitialized.
@@ -147,6 +147,11 @@
   list<int>    TSFlagsShifts = [];
 }
 
+/// ops definition - This is just a simple marker used to identify the operands
+/// list for an instruction.  This should be used like this:
+///     (ops R32:$dst, R32:$src) or something similar.
+def ops;
+
 
 //===----------------------------------------------------------------------===//
 // Target - This class contains the "global" target information





More information about the llvm-commits mailing list