diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-07-06 23:23:38 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-07-06 23:23:38 +0000 |
commit | 9835db562f486c2265c1dbd2a9272be32758c419 (patch) | |
tree | a745b28cf1259f587e5faaa747199b4fdfee191f /llvm/utils | |
parent | 3650b2c278af8740a3e727b2e7e91f6df777fe33 (diff) | |
download | bcm5719-llvm-9835db562f486c2265c1dbd2a9272be32758c419.tar.gz bcm5719-llvm-9835db562f486c2265c1dbd2a9272be32758c419.zip |
ImmutablePredicateOperand is no more.
llvm-svn: 37963
Diffstat (limited to 'llvm/utils')
-rw-r--r-- | llvm/utils/TableGen/CodeGenTarget.cpp | 3 | ||||
-rw-r--r-- | llvm/utils/TableGen/InstrInfoEmitter.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp index e4d80ee6698..18e11bdb6ff 100644 --- a/llvm/utils/TableGen/CodeGenTarget.cpp +++ b/llvm/utils/TableGen/CodeGenTarget.cpp @@ -412,8 +412,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr) NumOps = NumArgs; if (Rec->isSubClassOf("PredicateOperand")) { - if (!Rec->getValueAsBit("isImmutable")) - isPredicable = true; + isPredicable = true; } } else if (Rec->getName() == "variable_ops") { hasVariableNumberOfOperands = true; diff --git a/llvm/utils/TableGen/InstrInfoEmitter.cpp b/llvm/utils/TableGen/InstrInfoEmitter.cpp index a57770de468..af01e4cd75a 100644 --- a/llvm/utils/TableGen/InstrInfoEmitter.cpp +++ b/llvm/utils/TableGen/InstrInfoEmitter.cpp @@ -107,8 +107,7 @@ InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) { // Predicate operands. Check to see if the original unexpanded operand // was of type PredicateOperand. - if (Inst.OperandList[i].Rec->isSubClassOf("PredicateOperand") && - !Inst.OperandList[i].Rec->getValueAsBit("isImmutable")) + if (Inst.OperandList[i].Rec->isSubClassOf("PredicateOperand")) Res += "|M_PREDICATE_OPERAND"; // Fill in constraint info. |