[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Sat Jan 28 21:22:49 PST 2006
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.156 -> 1.157
---
Log message:
it is nice not to chop off bits for those blessed with lots of bits
---
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.156 llvm/utils/TableGen/DAGISelEmitter.cpp:1.157
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.156 Sat Jan 28 23:17:22 2006
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Sat Jan 28 23:22:37 2006
@@ -2034,7 +2034,7 @@
dynamic_cast<IntInit*>(Child->getLeafValue())) {
emitCheck("isa<ConstantSDNode>(" + RootName + utostr(OpNo) + ")");
unsigned CTmp = TmpNo++;
- emitCode("int CN"+utostr(CTmp)+" = cast<ConstantSDNode>("+
+ emitCode("int64_t CN"+utostr(CTmp)+" = cast<ConstantSDNode>("+
RootName + utostr(OpNo) + ")->getSignExtended();");
emitCheck("CN" + utostr(CTmp) + " == " +itostr(II->getValue()));
More information about the llvm-commits
mailing list