forked from OSchip/llvm-project
AArch64: Silence warning in AArch64FastISel
GCC was emitting a signed vs unsigned comparison warning. llvm-svn: 215620
This commit is contained in:
parent
f1eda23514
commit
c307c66765
|
@ -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