forked from OSchip/llvm-project
parent
3650b2c278
commit
9835db562f
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue