Machine Model (-schedmodel only). Added SchedAliases.
[oota-llvm.git] / utils / TableGen / DAGISelMatcherGen.cpp
index aed222c094956c4f18f20c2215c6ad9af81f2593..b291269933035f7eda4f500925e2d0bbb2f69ec7 100644 (file)
@@ -727,8 +727,7 @@ EmitResultInstructionAsOperand(const TreePatternNode *N,
 
     // Determine what to emit for this operand.
     Record *OperandNode = II.Operands[InstOpNo].Rec;
-    if ((OperandNode->isSubClassOf("PredicateOperand") ||
-         OperandNode->isSubClassOf("OptionalDefOperand")) &&
+    if (OperandNode->isSubClassOf("OperandWithDefaultOps") &&
         !CGP.getDefaultOperand(OperandNode).DefaultOps.empty()) {
       // This is a predicate or optional def operand; emit the
       // 'default ops' operands.