From 5c6bdf71d4c78c4bada45650fc7c1f0c038b62a4 Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Sun, 29 Jan 2006 05:07:04 +0000 Subject: [PATCH] start of the 64bit safety cleanup git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25764 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 464fa0a3dfd..56430657203 100644 --- a/utils/TableGen/DAGISelEmitter.cpp +++ b/utils/TableGen/DAGISelEmitter.cpp @@ -2079,7 +2079,7 @@ public: case MVT::i32: Code = "unsigned Tmp"; break; case MVT::i64: Code = "uint64_t Tmp"; break; } - emitCode(Code + utostr(ResNo) + "C = (unsigned)cast(" + + emitCode(Code + utostr(ResNo) + "C = (uint64_t)cast(" + Val + ")->getValue();"); emitCode("SDOperand Tmp" + utostr(ResNo) + " = CurDAG->getTargetConstant(Tmp" + utostr(ResNo) + -- 2.34.1