1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

fix compile error

llvm-svn: 22508
This commit is contained in:
Andrew Lenharth 2005-07-23 07:46:48 +00:00
parent dd14de5a1e
commit 14ff2e9791

View File

@ -2083,7 +2083,7 @@ unsigned AlphaISel::SelectExpr(SDOperand N) {
{
int64_t val = (int64_t)cast<ConstantSDNode>(N)->getValue();
int zero_extend_top = 0;
if (val > 0 && (val & 0xFFFFFFFF00000000) == 0 &&
if (val > 0 && (val & 0xFFFFFFFF00000000ULL) == 0 &&
((int32_t)val < 0)) {
//try a small load and zero extend
val = (int32_t)val;