From: Eric Christopher Date: Tue, 17 Aug 2010 01:18:37 +0000 (+0000) Subject: Remove predicate workaround, we're going to require that predicate X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=922157c83440e0197e7fd962cf7030491a8069b1 Remove predicate workaround, we're going to require that predicate 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 --- diff --git a/utils/TableGen/FastISelEmitter.cpp b/utils/TableGen/FastISelEmitter.cpp index 70448ab92ae..6a909955abb 100644 --- a/utils/TableGen/FastISelEmitter.cpp +++ b/utils/TableGen/FastISelEmitter.cpp @@ -264,15 +264,6 @@ void FastISelMap::CollectPatterns(CodeGenDAGPatterns &CGP) { 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;