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

Chris Lattner lattner at cs.uiuc.edu
Thu Aug 18 18:04:45 PDT 2005



Changes in directory llvm/utils/TableGen:

CodeEmitterGen.cpp updated: 1.40 -> 1.41
---
Log message:

The code emitter generator only supports targets with 32-bit instruction
words.  There is no way for one of these targets to have a > 32-bit immediate!


---
Diffs of the changes:  (+1 -1)

 CodeEmitterGen.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/utils/TableGen/CodeEmitterGen.cpp
diff -u llvm/utils/TableGen/CodeEmitterGen.cpp:1.40 llvm/utils/TableGen/CodeEmitterGen.cpp:1.41
--- llvm/utils/TableGen/CodeEmitterGen.cpp:1.40	Thu Apr 21 19:00:35 2005
+++ llvm/utils/TableGen/CodeEmitterGen.cpp	Thu Aug 18 20:04:33 2005
@@ -197,7 +197,7 @@
         // this is not an operand!!
         if (beginBitInInst != -1) {
           o << "      // op" << op << ": " << Vals[i].getName() << "\n"
-            << "      int64_t op" << op
+            << "      int op" << op
             <<" = getMachineOpValue(MI, MI.getOperand("<<op<<"));\n";
           //<< "   MachineOperand &op" << op <<" = MI.getOperand("<<op<<");\n";
           OpOrder[Vals[i].getName()] = op++;






More information about the llvm-commits mailing list