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:
24e00a4
)
start of the 64bit safety cleanup
author
Andrew Lenharth
<andrewl@lenharth.org>
Sun, 29 Jan 2006 05:07:04 +0000
(
05:07
+0000)
committer
Andrew Lenharth
<andrewl@lenharth.org>
Sun, 29 Jan 2006 05:07:04 +0000
(
05:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25764
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 464fa0a3dfdf3b2e33ffe6b509b65eb068898d54..56430657203139ee90084c8d6b2d3833f43094b1 100644
(file)
--- 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 = (u
nsigned
)cast<ConstantSDNode>(" +
+ emitCode(Code + utostr(ResNo) + "C = (u
int64_t
)cast<ConstantSDNode>(" +
Val + ")->getValue();");
emitCode("SDOperand Tmp" + utostr(ResNo) +
" = CurDAG->getTargetConstant(Tmp" + utostr(ResNo) +