start sketching out the structure of code for result emission generation.
[oota-llvm.git] / utils / TableGen / DAGISelMatcherEmitter.cpp
index 5d468194d79aa31a6d9e2a14afa03e4c578d5863..158fe7ff3ab5a0dd055d9e601cf11ac2114982e5 100644 (file)
@@ -262,6 +262,9 @@ EmitMatcherList(const MatcherNode *N, unsigned Indent) {
 }
 
 void MatcherTableEmitter::EmitPredicateFunctions() {
+  // FIXME: Don't build off the DAGISelEmitter's predicates, emit them directly
+  // here into the case stmts.
+  
   // Emit pattern predicates.
   OS << "bool CheckPatternPredicate(unsigned PredNo) const {\n";
   OS << "  switch (PredNo) {\n";