OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85a350f
)
Add parentheses to avoid warnings in GCC 4.4.0,
author
Chris Lattner
<sabre@nondot.org>
Wed, 8 Oct 2008 06:42:28 +0000
(06:42 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 8 Oct 2008 06:42:28 +0000
(06:42 +0000)
patch by Samuel Tardieu!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57288
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index
6f9893c
..
8cb5e4f
100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-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;