mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
it is nice not to chop off bits for those blessed with lots of bits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25766 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2cba57cb09
commit
8e51773bb7
@ -2034,7 +2034,7 @@ public:
|
|||||||
dynamic_cast<IntInit*>(Child->getLeafValue())) {
|
dynamic_cast<IntInit*>(Child->getLeafValue())) {
|
||||||
emitCheck("isa<ConstantSDNode>(" + RootName + utostr(OpNo) + ")");
|
emitCheck("isa<ConstantSDNode>(" + RootName + utostr(OpNo) + ")");
|
||||||
unsigned CTmp = TmpNo++;
|
unsigned CTmp = TmpNo++;
|
||||||
emitCode("int CN"+utostr(CTmp)+" = cast<ConstantSDNode>("+
|
emitCode("int64_t CN"+utostr(CTmp)+" = cast<ConstantSDNode>("+
|
||||||
RootName + utostr(OpNo) + ")->getSignExtended();");
|
RootName + utostr(OpNo) + ")->getSignExtended();");
|
||||||
|
|
||||||
emitCheck("CN" + utostr(CTmp) + " == " +itostr(II->getValue()));
|
emitCheck("CN" + utostr(CTmp) + " == " +itostr(II->getValue()));
|
||||||
|
Loading…
Reference in New Issue
Block a user