mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-30 16:34:03 +00:00
Add parentheses to avoid warnings in GCC 4.4.0,
patch by Samuel Tardieu! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57288 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
85a350f1d5
commit
de17ddc65f
@ -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