diff options
author | Eric Christopher <echristo@apple.com> | 2010-08-17 01:18:37 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-08-17 01:18:37 +0000 |
commit | 922157c83440e0197e7fd962cf7030491a8069b1 (patch) | |
tree | b694f69ff4749c9a2ead42d73c2297759d176e97 /utils | |
parent | 038fea5e30faaf37e597f8a4627e1e3141fb59ba (diff) | |
download | llvm-922157c83440e0197e7fd962cf7030491a8069b1.tar.gz llvm-922157c83440e0197e7fd962cf7030491a8069b1.tar.bz2 llvm-922157c83440e0197e7fd962cf7030491a8069b1.tar.xz |
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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/FastISelEmitter.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/utils/TableGen/FastISelEmitter.cpp b/utils/TableGen/FastISelEmitter.cpp index 70448ab92a..6a909955ab 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; |