Files missing from LABEL check in.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33539 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2007-01-26 17:29:20 +00:00
parent 9373d272b2
commit a683f9ba13
5 changed files with 34 additions and 7 deletions
+9 -3
View File
@@ -24,7 +24,9 @@ void CodeEmitterGen::reverseBits(std::vector<Record*> &Insts) {
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;
if (R->getName() == "PHI" ||
R->getName() == "INLINEASM" ||
R->getName() == "LABEL") continue;
BitsInit *BI = R->getValueAsBitsInit("Inst");
@@ -93,7 +95,9 @@ void CodeEmitterGen::run(std::ostream &o) {
if (IN != NumberedInstructions.begin()) o << ",\n";
if (R->getName() == "PHI" || R->getName() == "INLINEASM") {
if (R->getName() == "PHI" ||
R->getName() == "INLINEASM" ||
R->getName() == "LABEL") {
o << " 0U";
continue;
}
@@ -121,7 +125,9 @@ void CodeEmitterGen::run(std::ostream &o) {
const std::string &InstName = R->getName();
std::string Case("");
if (InstName == "PHI" || InstName == "INLINEASM") continue;
if (InstName == "PHI" ||
InstName == "INLINEASM" ||
InstName == "LABEL") continue;
BitsInit *BI = R->getValueAsBitsInit("Inst");
const std::vector<RecordVal> &Vals = R->getValues();