[llvm-commits] [llvm] r111220 - /llvm/trunk/utils/TableGen/FastISelEmitter.cpp

Eric Christopher echristo at apple.com
Mon Aug 16 18:18:37 PDT 2010


Author: echristo
Date: Mon Aug 16 20:18:37 2010
New Revision: 111220

URL: http://llvm.org/viewvc/llvm-project?rev=111220&view=rev
Log:
Remove predicate workaround, we're going to require that predicate
and optional def operands are handled in the backend support.

Modified:
    llvm/trunk/utils/TableGen/FastISelEmitter.cpp

Modified: llvm/trunk/utils/TableGen/FastISelEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/FastISelEmitter.cpp?rev=111220&r1=111219&r2=111220&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/FastISelEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/FastISelEmitter.cpp Mon Aug 16 20:18:37 2010
@@ -264,15 +264,6 @@
     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;





More information about the llvm-commits mailing list