and optional def operands are handled in the backend support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111220
91177308-0d34-0410-b5e6-
96231b3b80d8
CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op);
if (II.OperandList.empty())
continue;
-
- // For now ignore instructions that have predicate operands.
- bool HasPredicate = false;
- for (unsigned i = 0, e = II.OperandList.size(); i != e; ++i) {
- if(II.OperandList[i].Rec->isSubClassOf("PredicateOperand"))
- HasPredicate = true;
- }
- if (HasPredicate)
- continue;
// For now, ignore multi-instruction patterns.
bool MultiInsts = false;