From c419bd3396cc035942b219efae30dd2890ae430f Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 6 Jul 2007 23:23:38 +0000 Subject: ImmutablePredicateOperand is no more. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37963 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/CodeGenTarget.cpp | 3 +-- utils/TableGen/InstrInfoEmitter.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'utils/TableGen') diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp index e4d80ee..18e11bd 100644 --- a/utils/TableGen/CodeGenTarget.cpp +++ b/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/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp index a57770d..af01e4c 100644 --- a/utils/TableGen/InstrInfoEmitter.cpp +++ b/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. -- cgit v1.1