aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/Target.td7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Target/Target.td b/lib/Target/Target.td
index 0ee5c37f81..1e75e5aa82 100644
--- a/lib/Target/Target.td
+++ b/lib/Target/Target.td
@@ -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