summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/InstrInfoEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-11-15 02:38:17 +0000
committerChris Lattner <sabre@nondot.org>2006-11-15 02:38:17 +0000
commitc94f214d221a5fbfe029449f36938bd3a134393e (patch)
treeeb0d8ee99095474ba96ae6fa2ac59846f1eda387 /llvm/utils/TableGen/InstrInfoEmitter.cpp
parentaf87fa3a63456d058822b0ed089b8d42bd5391ac (diff)
downloadbcm5719-llvm-c94f214d221a5fbfe029449f36938bd3a134393e.tar.gz
bcm5719-llvm-c94f214d221a5fbfe029449f36938bd3a134393e.zip
ADd support for adding constraints to suboperands
llvm-svn: 31748
Diffstat (limited to 'llvm/utils/TableGen/InstrInfoEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/InstrInfoEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/InstrInfoEmitter.cpp b/llvm/utils/TableGen/InstrInfoEmitter.cpp
index 7c5cc3b65ef..07aaf91861e 100644
--- a/llvm/utils/TableGen/InstrInfoEmitter.cpp
+++ b/llvm/utils/TableGen/InstrInfoEmitter.cpp
@@ -111,7 +111,7 @@ InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) {
Res += "|M_PREDICATE_OPERAND";
// Fill in constraint info.
- Res += ", " + Inst.OperandList[i].Constraint;
+ Res += ", " + Inst.OperandList[i].Constraints[j];
Result.push_back(Res);
}
}
OpenPOWER on IntegriCloud