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:
David Majnemer 2014-08-14 06:44:51 +00:00
parent 923556f8a8
commit 8c651f5c26

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