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

start of the 64bit safety cleanup

llvm-svn: 25764
This commit is contained in:
Andrew Lenharth 2006-01-29 05:07:04 +00:00
parent 024ea8e7ca
commit 896015b24f

View File

@ -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 = (unsigned)cast<ConstantSDNode>(" +
emitCode(Code + utostr(ResNo) + "C = (uint64_t)cast<ConstantSDNode>(" +
Val + ")->getValue();");
emitCode("SDOperand Tmp" + utostr(ResNo) +
" = CurDAG->getTargetConstant(Tmp" + utostr(ResNo) +