projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecc0274
)
add a comment.
author
Chris Lattner
<sabre@nondot.org>
Fri, 23 Nov 2007 22:35:18 +0000
(22:35 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 23 Nov 2007 22:35:18 +0000
(22:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44293
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 c8df4128643282f3918777630498c82ec03bb929..5537631eef99a8d1891c012c42b7bdad6863d82c 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-2660,7
+2660,7
@@
static Constant *GetFactor(Value *V) {
if (ConstantInt *RHS = dyn_cast<ConstantInt>(I->getOperand(1))) {
// X & 0xFFF0 is known to be a multiple of 16.
uint32_t Zeros = RHS->getValue().countTrailingZeros();
- if (Zeros != V->getType()->getPrimitiveSizeInBits())
+ if (Zeros != V->getType()->getPrimitiveSizeInBits())
// don't shift by "32"
return ConstantExpr::getShl(Result,
ConstantInt::get(Result->getType(), Zeros));
}