mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 01:14:12 +00:00
fix compile error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22508 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aa68f7fa09
commit
f075cac445
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user