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()));