AArch64: Silence warning in AArch64FastISel

GCC was emitting a signed vs unsigned comparison warning.

llvm-svn: 215620
This commit is contained in:
David Majnemer 2014-08-14 06:44:51 +00:00
parent f1eda23514
commit c307c66765
1 changed files with 1 additions and 1 deletions

View File

@ -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);