mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
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:
parent
038fea5e30
commit
922157c834
@ -265,15 +265,6 @@ void FastISelMap::CollectPatterns(CodeGenDAGPatterns &CGP) {
|
|||||||
if (II.OperandList.empty())
|
if (II.OperandList.empty())
|
||||||
continue;
|
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.
|
// For now, ignore multi-instruction patterns.
|
||||||
bool MultiInsts = false;
|
bool MultiInsts = false;
|
||||||
for (unsigned i = 0, e = Dst->getNumChildren(); i != e; ++i) {
|
for (unsigned i = 0, e = Dst->getNumChildren(); i != e; ++i) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user