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 | d84dbb5cafc429076b6925117783ce37358d3dbd (patch) | |
tree | 08e1cd5241a41103c966ea47f4d7411e79a0baf9 /llvm/utils/TableGen/FastISelEmitter.cpp | |
parent | 663f49900d44c9fa5e81fe2f129798ab0d19d6de (diff) | |
download | bcm5719-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.cpp | 9 |
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; |