summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/FastISelEmitter.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-08-17 01:18:37 +0000
committerEric Christopher <echristo@apple.com>2010-08-17 01:18:37 +0000
commitd84dbb5cafc429076b6925117783ce37358d3dbd (patch)
tree08e1cd5241a41103c966ea47f4d7411e79a0baf9 /llvm/utils/TableGen/FastISelEmitter.cpp
parent663f49900d44c9fa5e81fe2f129798ab0d19d6de (diff)
downloadbcm5719-llvm-d84dbb5cafc429076b6925117783ce37358d3dbd.tar.gz
bcm5719-llvm-d84dbb5cafc429076b6925117783ce37358d3dbd.zip
Remove predicate workaround, we're going to require that predicate
and optional def operands are handled in the backend support. llvm-svn: 111220
Diffstat (limited to 'llvm/utils/TableGen/FastISelEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/FastISelEmitter.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/utils/TableGen/FastISelEmitter.cpp b/llvm/utils/TableGen/FastISelEmitter.cpp
index 70448ab92ae..6a909955abb 100644
--- a/llvm/utils/TableGen/FastISelEmitter.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud