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

Misha Brukman brukman at cs.uiuc.edu
Thu Jun 5 18:16:01 PDT 2003


Changes in directory llvm/utils/TableGen:

CodeEmitterGen.cpp updated: 1.6 -> 1.7

---
Log message:

* Stop ignoring cc registers, since we actually use them in branches.
* Added comment as to why we are still ignoring predict and annul bits.


---
Diffs of the changes:

Index: llvm/utils/TableGen/CodeEmitterGen.cpp
diff -u llvm/utils/TableGen/CodeEmitterGen.cpp:1.6 llvm/utils/TableGen/CodeEmitterGen.cpp:1.7
--- llvm/utils/TableGen/CodeEmitterGen.cpp:1.6	Mon Jun  2 19:07:17 2003
+++ llvm/utils/TableGen/CodeEmitterGen.cpp	Thu Jun  5 18:15:25 2003
@@ -63,8 +63,8 @@
     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 @@
           }
         } 
       } else {
+        // ignore annul and predict bits since no one sets them yet
         if (Vals[f].getName() == "annul" || Vals[f].getName() == "predict")
           --Offset;
       }





More information about the llvm-commits mailing list