mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 06:27:16 +00:00
Add parentheses to avoid warnings in GCC 4.4.0,
patch by Samuel Tardieu! llvm-svn: 57288
This commit is contained in:
parent
7320e36e54
commit
0aa4423c8c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user