Fix an obvious thinko.

llvm-svn: 63510
This commit is contained in:
Duncan Sands 2009-02-02 09:53:14 +00:00
parent dc636c4080
commit 33d6e97e33
1 changed files with 1 additions and 1 deletions

View File

@ -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