1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

it is nice not to chop off bits for those blessed with lots of bits

llvm-svn: 25766
This commit is contained in:
Andrew Lenharth 2006-01-29 05:22:37 +00:00
parent fde505e9f5
commit 1ba3cfd622

View File

@ -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("int64_t CN"+utostr(CTmp)+" = cast<ConstantSDNode>("+
RootName + utostr(OpNo) + ")->getSignExtended();");
emitCheck("CN" + utostr(CTmp) + " == " +itostr(II->getValue()));