aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-01 04:40:43 +0000
committerChris Lattner <sabre@nondot.org>2004-08-01 04:40:43 +0000
commitc139203f049e1a10e19f3ec4f6785e21323dec6e (patch)
treeafdf883679b7cf2c1479435c01e4bcf71ca048ad
parent803a5f6ecb1823280f80e3c4459aa58627d0484c (diff)
Add the 'ops' marker, add an AsmString initializer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15383 91177308-0d34-0410-b5e6-96231b3b80d8
-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