ARM: use TableGen patterns to select CMOV operations.
[oota-llvm.git] / utils / TableGen / CodeGenInstruction.cpp
index 8ec7682985faa2ea1eb86d06205176af62f78c0f..bf59d3afb5102cd18bfd88b754dbacf7eeefd1fe 100644 (file)
@@ -90,7 +90,7 @@ CGIOperandList::CGIOperandList(Record *R) : TheDef(R) {
       if (unsigned NumArgs = MIOpInfo->getNumArgs())
         NumOps = NumArgs;
 
-      if (Rec->isSubClassOf("PredicateOperand"))
+      if (Rec->isSubClassOf("PredicateOp"))
         isPredicable = true;
       else if (Rec->isSubClassOf("OptionalDefOperand"))
         hasOptionalDef = true;