projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cba57c
)
it is nice not to chop off bits for those blessed with lots of bits
author
Andrew Lenharth
<andrewl@lenharth.org>
Sun, 29 Jan 2006 05:22:37 +0000
(
05:22
+0000)
committer
Andrew Lenharth
<andrewl@lenharth.org>
Sun, 29 Jan 2006 05:22:37 +0000
(
05:22
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25766
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/DAGISelEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/DAGISelEmitter.cpp
b/utils/TableGen/DAGISelEmitter.cpp
index bc026640bad36529b1acbb83126a680732418b10..4d0c1601a1cc045cfd9edf1bb32692f36dd0dc36 100644
(file)
--- 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("int
64_t
CN"+utostr(CTmp)+" = cast<ConstantSDNode>("+
RootName + utostr(OpNo) + ")->getSignExtended();");
emitCheck("CN" + utostr(CTmp) + " == " +itostr(II->getValue()));