aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeEmitterGen.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-27 01:39:38 +0000
committerChris Lattner <sabre@nondot.org>2006-01-27 01:39:38 +0000
commit188454ae2b36e9130ab01e2e5649e3805edb8154 (patch)
tree0a1fb3b3c4b2eba4f2d4a6249665a477348df51d /utils/TableGen/CodeEmitterGen.cpp
parentacc43bf4ab8d7fe6fdb0deee13931e4935fbf145 (diff)
Don't emit JIT code for these instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeEmitterGen.cpp')
-rw-r--r--utils/TableGen/CodeEmitterGen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp
index ef3a6e9ad5..b733fdf431 100644
--- a/utils/TableGen/CodeEmitterGen.cpp
+++ b/utils/TableGen/CodeEmitterGen.cpp
@@ -89,6 +89,8 @@ void CodeEmitterGen::run(std::ostream &o) {
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";