summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-30 18:18:54 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-30 18:18:54 +0000
commitbd17a295c1fe7ac5669af033086209254a0887a3 (patch)
treeeb252cfea583360e5512f5257be1e68c83eab4af /utils
parent3e4b22d9836f66ba72dd105567a77be05030f747 (diff)
downloadllvm-bd17a295c1fe7ac5669af033086209254a0887a3.tar.gz
llvm-bd17a295c1fe7ac5669af033086209254a0887a3.tar.bz2
llvm-bd17a295c1fe7ac5669af033086209254a0887a3.tar.xz
Remove itohexstr, which only had one user.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77613 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/DAGISelEmitter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index d953c13a56..0802483c8a 100644
--- a/utils/TableGen/DAGISelEmitter.cpp
+++ b/utils/TableGen/DAGISelEmitter.cpp
@@ -932,7 +932,8 @@ public:
unsigned ResNo = TmpNo++;
assert(N->getExtTypes().size() == 1 && "Multiple types not handled!");
emitCode("SDValue Tmp" + utostr(ResNo) +
- " = CurDAG->getTargetConstant(0x" + itohexstr(II->getValue()) +
+ " = CurDAG->getTargetConstant(0x" +
+ utohexstr((uint64_t) II->getValue()) +
"ULL, " + getEnumName(N->getTypeNum(0)) + ");");
NodeOps.push_back("Tmp" + utostr(ResNo));
return NodeOps;