Add the 'ops' marker, add an AsmString initializer
authorChris Lattner <sabre@nondot.org>
Sun, 1 Aug 2004 04:40:43 +0000 (04:40 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 1 Aug 2004 04:40:43 +0000 (04:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15383 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Target.td

index 0ee5c37f81dc446550e03b58517ac0e8100b7e6f..1e75e5aa827c2ea9d6a40cce38799e8cb7c1e678 100644 (file)
@@ -110,7 +110,7 @@ class Instruction {
   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 @@ class InstrInfo {
   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