summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeEmitterGen.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-01-08 23:51:25 +0000
committerDale Johannesen <dalej@apple.com>2010-01-08 23:51:25 +0000
commit8f0474065082fb2ada19423685add1cd9d6ff76c (patch)
tree2ced37b6b3d4b2db8170493434afa4e4e6401e0c /llvm/utils/TableGen/CodeEmitterGen.cpp
parentcc6d56bd3b13bc72ccfb6e4d5b0fd7df7d552563 (diff)
downloadbcm5719-llvm-8f0474065082fb2ada19423685add1cd9d6ff76c.tar.gz
bcm5719-llvm-8f0474065082fb2ada19423685add1cd9d6ff76c.zip
Add DEBUG_VALUE. Not used yet.
llvm-svn: 93030
Diffstat (limited to 'llvm/utils/TableGen/CodeEmitterGen.cpp')
-rw-r--r--llvm/utils/TableGen/CodeEmitterGen.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/CodeEmitterGen.cpp b/llvm/utils/TableGen/CodeEmitterGen.cpp
index 7e6c769ac4f..714a39c7f4f 100644
--- a/llvm/utils/TableGen/CodeEmitterGen.cpp
+++ b/llvm/utils/TableGen/CodeEmitterGen.cpp
@@ -34,7 +34,8 @@ void CodeEmitterGen::reverseBits(std::vector<Record*> &Insts) {
R->getName() == "INSERT_SUBREG" ||
R->getName() == "IMPLICIT_DEF" ||
R->getName() == "SUBREG_TO_REG" ||
- R->getName() == "COPY_TO_REGCLASS") continue;
+ R->getName() == "COPY_TO_REGCLASS" ||
+ R->getName() == "DEBUG_VALUE") continue;
BitsInit *BI = R->getValueAsBitsInit("Inst");
@@ -111,7 +112,8 @@ void CodeEmitterGen::run(raw_ostream &o) {
R->getName() == "INSERT_SUBREG" ||
R->getName() == "IMPLICIT_DEF" ||
R->getName() == "SUBREG_TO_REG" ||
- R->getName() == "COPY_TO_REGCLASS") {
+ R->getName() == "COPY_TO_REGCLASS" ||
+ R->getName() == "DEBUG_VALUE") {
o << " 0U,\n";
continue;
}
@@ -149,7 +151,8 @@ void CodeEmitterGen::run(raw_ostream &o) {
InstName == "INSERT_SUBREG" ||
InstName == "IMPLICIT_DEF" ||
InstName == "SUBREG_TO_REG" ||
- InstName == "COPY_TO_REGCLASS") continue;
+ InstName == "COPY_TO_REGCLASS" ||
+ InstName == "DEBUG_VALUE") continue;
BitsInit *BI = R->getValueAsBitsInit("Inst");
const std::vector<RecordVal> &Vals = R->getValues();
OpenPOWER on IntegriCloud