ImmutablePredicateOperand is no more.

llvm-svn: 37963
This commit is contained in:
Evan Cheng 2007-07-06 23:23:38 +00:00
parent 3650b2c278
commit 9835db562f
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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.