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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Sat Jan 28 21:07:16 PST 2006



Changes in directory llvm/utils/TableGen:

DAGISelEmitter.cpp updated: 1.154 -> 1.155
---
Log message:

start of the 64bit safety cleanup

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

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


Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.154 llvm/utils/TableGen/DAGISelEmitter.cpp:1.155
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.154	Sat Jan 28 22:41:05 2006
+++ llvm/utils/TableGen/DAGISelEmitter.cpp	Sat Jan 28 23:07:04 2006
@@ -2079,7 +2079,7 @@
         case MVT::i32: Code = "unsigned Tmp"; break;
         case MVT::i64: Code = "uint64_t Tmp"; break;
         }
-        emitCode(Code + utostr(ResNo) + "C = (unsigned)cast<ConstantSDNode>(" +
+        emitCode(Code + utostr(ResNo) + "C = (uint64_t)cast<ConstantSDNode>(" +
                  Val + ")->getValue();");
         emitCode("SDOperand Tmp" + utostr(ResNo) + 
                  " = CurDAG->getTargetConstant(Tmp" + utostr(ResNo) + 






More information about the llvm-commits mailing list