From 8e51773bb7876a917fa1b6ee222f84b172000950 Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Sun, 29 Jan 2006 05:22:37 +0000 Subject: [PATCH] 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 --- utils/TableGen/DAGISelEmitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp index bc026640bad..4d0c1601a1c 100644 --- a/utils/TableGen/DAGISelEmitter.cpp +++ b/utils/TableGen/DAGISelEmitter.cpp @@ -2034,7 +2034,7 @@ public: dynamic_cast(Child->getLeafValue())) { emitCheck("isa(" + RootName + utostr(OpNo) + ")"); unsigned CTmp = TmpNo++; - emitCode("int CN"+utostr(CTmp)+" = cast("+ + emitCode("int64_t CN"+utostr(CTmp)+" = cast("+ RootName + utostr(OpNo) + ")->getSignExtended();"); emitCheck("CN" + utostr(CTmp) + " == " +itostr(II->getValue()));