mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
AArch64: Silence warning in AArch64FastISel
GCC was emitting a signed vs unsigned comparison warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215620 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
923556f8a8
commit
8c651f5c26
@ -487,7 +487,7 @@ bool AArch64FastISel::ComputeAddress(const Value *Obj, Address &Addr, Type *Ty)
|
||||
NumBytes = 0;
|
||||
}
|
||||
|
||||
if (NumBytes != (1 << Val))
|
||||
if (NumBytes != (1U << Val))
|
||||
break;
|
||||
|
||||
Addr.setShift(Val);
|
||||
|
Loading…
Reference in New Issue
Block a user