[mips][microMIPS] MicroMIPS Compact Branch Instructions BEQZC and BNEZC
[oota-llvm.git] / lib / Target / AArch64 / AArch64FastISel.cpp
index 5459c1ba4f7ee6abe68830b180d6c8ec90f74b28..adcb64d191c984a114f74e26853773f8be8b36d5 100644 (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);