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:
97d0e0e
)
Fix an obvious thinko.
author
Duncan Sands
<baldrick@free.fr>
Mon, 2 Feb 2009 09:53:14 +0000
(09:53 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Mon, 2 Feb 2009 09:53:14 +0000
(09:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63510
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/ScalarReplAggregates.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/ScalarReplAggregates.cpp
b/lib/Transforms/Scalar/ScalarReplAggregates.cpp
index 10d2e00911d306f31bdf55e8d4b99e6ab2b56089..8f36317e8ca19e1bf9476004350023b1aae45fdf 100644
(file)
--- a/
lib/Transforms/Scalar/ScalarReplAggregates.cpp
+++ b/
lib/Transforms/Scalar/ScalarReplAggregates.cpp
@@
-1482,7
+1482,7
@@
Value *SROA::ConvertUsesOfStoreToScalar(StoreInst *SI, AllocaInst *NewAI,
SV = BinaryOperator::CreateLShr(SV,
ConstantInt::get(SV->getType(),-ShAmt),
SV->getName(), SI);
- Mask = Mask.lshr(ShAmt);
+ Mask = Mask.lshr(
-
ShAmt);
}
// Mask out the bits we are about to insert from the old value, and or