start of the 64bit safety cleanup

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25764 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Lenharth 2006-01-29 05:07:04 +00:00
parent 24e00a4ac1
commit 5c6bdf71d4

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) +