[llvm-commits] CVS: llvm/utils/TableGen/CodeEmitterGen.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Jan 26 17:39:50 PST 2006



Changes in directory llvm/utils/TableGen:

CodeEmitterGen.cpp updated: 1.42 -> 1.43
---
Log message:

Don't emit JIT code for these instructions


---
Diffs of the changes:  (+2 -0)

 CodeEmitterGen.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/utils/TableGen/CodeEmitterGen.cpp
diff -u llvm/utils/TableGen/CodeEmitterGen.cpp:1.42 llvm/utils/TableGen/CodeEmitterGen.cpp:1.43
--- llvm/utils/TableGen/CodeEmitterGen.cpp:1.42	Mon Oct 24 10:04:15 2005
+++ llvm/utils/TableGen/CodeEmitterGen.cpp	Thu Jan 26 19:39:38 2006
@@ -89,6 +89,8 @@
   for (std::vector<Record*>::iterator I = Insts.begin(), E = Insts.end();
        I != E; ++I) {
     Record *R = *I;
+    if (R->getName() == "PHI" || R->getName() == "INLINEASM") continue;
+    
     o << "    case " << Namespace << R->getName() << ": {\n"
       << "      DEBUG(std::cerr << \"Emitting " << R->getName() << "\\n\");\n";
 






More information about the llvm-commits mailing list