mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
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:
parent
8a68f2fc40
commit
7e10a7fd22
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user