From 922157c83440e0197e7fd962cf7030491a8069b1 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 17 Aug 2010 01:18:37 +0000 Subject: [PATCH] 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 --- utils/TableGen/FastISelEmitter.cpp | 9 --------- 1 file changed, 9 deletions(-) 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; -- 2.34.1