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
This commit is contained in:
Eric Christopher 2010-08-17 01:18:37 +00:00
parent 038fea5e30
commit 922157c834

View File

@ -265,15 +265,6 @@ void FastISelMap::CollectPatterns(CodeGenDAGPatterns &CGP) {
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;
for (unsigned i = 0, e = Dst->getNumChildren(); i != e; ++i) {