* Stop ignoring cc registers, since we actually use them in branches.
authorMisha Brukman <brukman+llvm@gmail.com>
Thu, 5 Jun 2003 23:15:25 +0000 (23:15 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Thu, 5 Jun 2003 23:15:25 +0000 (23:15 +0000)
* Added comment as to why we are still ignoring predict and annul bits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6636 91177308-0d34-0410-b5e6-96231b3b80d8

support/tools/TableGen/CodeEmitterGen.cpp
utils/TableGen/CodeEmitterGen.cpp

index b32a38aa5fe4da9595ee4f6945950de616e4ce4a..cd259ec5d7cae41bc364e0eeb7b97946ca3834de 100644 (file)
@@ -63,8 +63,8 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
     for (unsigned i = 0, e = Vals.size(); i != e; ++i) {
       if (Vals[i].getName() != "Inst" && 
           !Vals[i].getValue()->isComplete() &&
+          /* ignore annul and predict bits since no one sets them yet */
           Vals[i].getName() != "annul" && 
-          Vals[i].getName() != "cc" &&
           Vals[i].getName() != "predict")
       {
         o << "      // op" << op << ": " << Vals[i].getName() << "\n"
@@ -105,6 +105,7 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
           }
         } 
       } else {
+        // ignore annul and predict bits since no one sets them yet
         if (Vals[f].getName() == "annul" || Vals[f].getName() == "predict")
           --Offset;
       }
index b32a38aa5fe4da9595ee4f6945950de616e4ce4a..cd259ec5d7cae41bc364e0eeb7b97946ca3834de 100644 (file)
@@ -63,8 +63,8 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
     for (unsigned i = 0, e = Vals.size(); i != e; ++i) {
       if (Vals[i].getName() != "Inst" && 
           !Vals[i].getValue()->isComplete() &&
+          /* ignore annul and predict bits since no one sets them yet */
           Vals[i].getName() != "annul" && 
-          Vals[i].getName() != "cc" &&
           Vals[i].getName() != "predict")
       {
         o << "      // op" << op << ": " << Vals[i].getName() << "\n"
@@ -105,6 +105,7 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
           }
         } 
       } else {
+        // ignore annul and predict bits since no one sets them yet
         if (Vals[f].getName() == "annul" || Vals[f].getName() == "predict")
           --Offset;
       }