diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-12-01 22:57:41 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-12-01 22:57:41 +0000 |
commit | 05551224128c038aef13fc5b37de62e0fa581888 (patch) | |
tree | 7e0160c8e44bffb9bed74a7b38a660457508d375 /utils/TableGen | |
parent | 0b7e507247c9803d5dc3ed8af6da1ddd178a5737 (diff) | |
download | llvm-05551224128c038aef13fc5b37de62e0fa581888.tar.gz llvm-05551224128c038aef13fc5b37de62e0fa581888.tar.bz2 llvm-05551224128c038aef13fc5b37de62e0fa581888.tar.xz |
Match TargetInstrInfo changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32107 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r-- | utils/TableGen/CodeGenTarget.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp index 4613c1ba24..a8d3abccaf 100644 --- a/utils/TableGen/CodeGenTarget.cpp +++ b/utils/TableGen/CodeGenTarget.cpp @@ -302,7 +302,7 @@ static void ParseConstraint(const std::string &CStr, CodeGenInstruction *I) { unsigned FlatOpNo = I->getFlattenedOperandNumber(SrcOp); // Build the string for the operand. std::string OpConstraint = - "((" + utostr(FlatOpNo) + " << 16) | (1 << TargetInstrInfo::TIED_TO))"; + "((" + utostr(FlatOpNo) + " << 16) | (1 << TOI::TIED_TO))"; if (!I->OperandList[DestOp.first].Constraints[DestOp.second].empty()) @@ -422,8 +422,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr) if (!OperandList[1].Constraints[0].empty()) throw R->getName() + ": cannot use isTwoAddress property: instruction " "already has constraint set!"; - OperandList[1].Constraints[0] = - "((0 << 16) | (1 << TargetInstrInfo::TIED_TO))"; + OperandList[1].Constraints[0] = "((0 << 16) | (1 << TOI::TIED_TO))"; } // Any operands with unset constraints get 0 as their constraint. |