aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-01-29 05:22:37 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-01-29 05:22:37 +0000
commit8e51773bb7876a917fa1b6ee222f84b172000950 (patch)
tree1fca1acce2c6df955c4e6016b3699b753525dc6f
parent2cba57cb09e4324201555e10aa28cdbcee07cb2c (diff)
it is nice not to chop off bits for those blessed with lots of bits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25766 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--utils/TableGen/DAGISelEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index bc026640ba..4d0c1601a1 100644
--- a/utils/TableGen/DAGISelEmitter.cpp
+++ b/utils/TableGen/DAGISelEmitter.cpp
@@ -2034,7 +2034,7 @@ public:
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()));