Remove predicate workaround, we're going to require that predicate

and optional def operands are handled in the backend support.

llvm-svn: 111220
This commit is contained in:
Eric Christopher 2010-08-17 01:18:37 +00:00
parent 663f49900d
commit d84dbb5caf
1 changed files with 0 additions and 9 deletions

View File

@ -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;