Add parentheses to avoid warnings in GCC 4.4.0,

patch by Samuel Tardieu!

llvm-svn: 57288
This commit is contained in:
Chris Lattner 2008-10-08 06:42:28 +00:00
parent 7320e36e54
commit 0aa4423c8c

View File

@ -3939,7 +3939,7 @@ static bool CollectBSwapParts(Value *V, int OverallLeftShift, uint32_t ByteMask,
// X >>u 2 -> collect(X, -2)
OverallLeftShift -= ByteShift;
ByteMask <<= ByteShift;
ByteMask &= (~0U >> 32-ByteValues.size());
ByteMask &= (~0U >> (32-ByteValues.size()));
}
if (OverallLeftShift >= (int)ByteValues.size()) return true;