summaryrefslogtreecommitdiff
path: root/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
commit0bb75004ff6c0ad26de7610cb873f81ea26fd6ca (patch)
tree19132b0a0df117ba7f05407eda5db0927edd53ba /utils/TableGen/InstrInfoEmitter.cpp
parent83b557cee94caaeb23b89b7f6ba54fa3adb43d56 (diff)
downloadllvm-0bb75004ff6c0ad26de7610cb873f81ea26fd6ca.tar.gz
llvm-0bb75004ff6c0ad26de7610cb873f81ea26fd6ca.tar.bz2
llvm-0bb75004ff6c0ad26de7610cb873f81ea26fd6ca.tar.xz
ADd support for adding constraints to suboperands
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/InstrInfoEmitter.cpp')
-rw-r--r--utils/TableGen/InstrInfoEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp
index 7c5cc3b65e..07aaf91861 100644
--- a/utils/TableGen/InstrInfoEmitter.cpp
+++ b/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);
}
}