summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitfd6893837c4d2659e5f59e66ade0d0142c3aed54 (patch)
tree41414da092638cdeaef25a0ef9a2af3b5b8d6ae4 /llvm
parentfce96033878a6f36944905e9c40badf4ae10d96b (diff)
downloadbcm5719-llvm-fd6893837c4d2659e5f59e66ade0d0142c3aed54.tar.gz
bcm5719-llvm-fd6893837c4d2659e5f59e66ade0d0142c3aed54.zip
Add the 'ops' marker, add an AsmString initializer
llvm-svn: 15383
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/Target.td7
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Target/Target.td b/llvm/lib/Target/Target.td
index 0ee5c37f81d..1e75e5aa827 100644
--- a/llvm/lib/Target/Target.td
+++ b/llvm/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
OpenPOWER on IntegriCloud