[llvm-commits] [llvm] r63510 - /llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Duncan Sands
baldrick at free.fr
Mon Feb 2 01:53:20 PST 2009
Author: baldrick
Date: Mon Feb 2 03:53:14 2009
New Revision: 63510
URL: http://llvm.org/viewvc/llvm-project?rev=63510&view=rev
Log:
Fix an obvious thinko.
Modified:
llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp?rev=63510&r1=63509&r2=63510&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp Mon Feb 2 03:53:14 2009
@@ -1482,7 +1482,7 @@
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
More information about the llvm-commits
mailing list